Getting Started with Public Safety and Security
Prepare IAM, create a Public Safety and Security instance, confirm the initial administrator, and prepare Oracle Radio users, channels, and mobile devices.
Before You Begin
You need permission to work with the target compartment, Identity Domain, users, and policies and to create Public Safety and Security resources. The Identity Domain service policy and your Public Safety and Security resource permissions serve different purposes. To view metrics, Events rules, or Audit records, also request the appropriate read policies.
Choose the correct authentication method for OCI administration or Oracle Radio. Review the service limits before creating an instance.
Grant least-privilege access to Public Safety and Security resources. Never put an access token or other credential in an API request field, CLI argument, tag, display name, or documentation example unless the interface explicitly requires it.
Step 1: Prepare the Identity Domain and IAM Policy
Use an existing compartment and Identity Domain or create a new compartment before creating the Public Safety and Security instance. The domain must contain an active user who will become the initial Radio administrator.
Public Safety and Security provisions and maintains the integrated applications required by the instance. Don't create or edit those applications as part of this procedure.
The customer-owned compartment, Identity Domain, active initial administrator, and Public Safety and Security service policy are ready for instance creation.
Step 2: Create a Public Safety and Security Instance
Create the instance in the target compartment and associate it with the Identity Domain and initial administrator. For all available options, see instance creation.
Use the Identity Domain HTTPS origin only. An explicit default HTTPS port, :443, is accepted. Don't include credentials, a non-default port, a path, a query, or a fragment.
- In the OCI Console, open the Navigation menu, select Oracle Public Safety and Security, and then under Public Safety and Security, select Instances.
- Select Create Public Safety and Security Instance.
- Select the target compartment and optionally enter a display name.
- Select or paste the Identity Domain URL.
- Select or paste the OCID of the active Identity Domain user who will initially administer this instance.
- Add defined or free-form tags if required, and submit the request.
Public Safety and Security creates the instance resource and returns a work request. During provisioning, Public Safety and Security verifies the initial administrator exists and is active, enables the corresponding Radio user, and adds that user to the Radio Administrators group.
Use the following command to create a Public Safety and Security instance:
oci pss instance create \ --compartment-id <compartment-OCID> \ --identity-domain-url <identity-domain-url> \ --admin-user-id <identity-domain-user-OCID>The response includes the Public Safety and Security instance OCID and the work request used to monitor provisioning.
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the
CreateInstanceoperation with the compartment OCID, Identity Domain URL, and initial administrator Identity Domain user OCID. Use the work request returned by the operation to monitor provisioning.
Step 3: Monitor the Work Request
Creating the instance may take a few minutes, wait for the process to complete. Monitor the asynchronous create operation until it succeeds or reports an error. For more information, see work request details.
Use the following command to get the current work request:
oci pss work-request get \ --work-request-id <work-request-OCID>If the operation fails, use the work-request error and log commands described in Public Safety and Security Work Requests.
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the
GetWorkRequestoperation with the returned work request OCID. If the operation fails, useListWorkRequestErrorsandListWorkRequestLogsto review customer-visible details.
Step 4: Get the Active Instance Endpoints
After the create work request succeeds, confirm that the instance is active and obtain its API and user-interface endpoints. For more information, see instance details.
An ACTIVE lifecycle state doesn't rule out a subscription restriction. If lifecycleDetails reports a restriction, follow the subscription guidance before continuing.
Use the following command to get the instance lifecycle state, API service endpoint, and user-interface endpoint:
oci pss instance get \ --instance-id <instance-OCID>Continue only when the returned lifecycle state is
ACTIVE.For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the
GetInstanceoperation with the instance OCID. Continue only whenlifecycleStateisACTIVE. Use the returnedserviceEndpointfor API requests anduiEndpointto open Oracle Radio.
Step 5: Sign In as the Initial Administrator
The Public Safety and Security instance must be active. Sign in with the same active Identity Domain user selected as the initial administrator when the instance was created.
The initial administrator can now enable Radio users and assign Radio-owned access. For more information, see sign-in guidance. If you need to see create another user or handoff the administrator user.
Step 6: Enable Oracle Radio Users and Assign Oracle Radio Groups
To enable users or change their Radio group memberships, you must have the Oracle Radio application permission radio.user.manage. The initial administrator automatically receives this permission through the initially seeded Radio Administrators group. This permission is separate from the OCI IAM permissions used to create or manage the Public Safety and Security instance.
- In the Radio App, select Users.
- Find an active Identity Domain user, select the check box next to the user you want to enable.
- Select Enable and confirm to create or enable the Radio authorization record. Or select Manage to review the Directory details that contains the user's Identity Domain details, Radio access status, and Radio user ID.
- Optionally, select the group check box to assign and save the user to a group.
- Repeat these steps for each user who needs Oracle Radio access.
The users have Radio access. Assigned Radio groups grant their Oracle Radio application permissions. To automate these changes with REST, follow user management.
Step 7: Prepare and Join Oracle Radio Channels
Have a Radio administrator prepare the channel and its access policy in the Radio app. Use the method tabs to choose how operators discover the channel and save a selection or connect to a live session. See the API comparison.
Administrators need the channel permissions for the setup action. Operators need the permissions for their chosen subscription or channel operation and the applicable channel access. Authenticate using the supported client flow.
- In Radio, select Channels.
- Create a channel if needed, enter a unique channel name and user-facing display name, and configure the approved channel properties.
- For a restricted channel, configure the access policy required by its users.
- Test the channel with an authorized user.
- In Radio, have each operator find the channel in the Channels rail and select Join.
- Verify that the joined channel appears in the Radio view.
The instance is ready for approved Radio workflows, see channel management and channel use.
Start with an authenticated WebSocket session.
- Discover an accessible, existing channel with
LIST_CHANNELS. - Send
SUBSCRIBEfor the channel and verify the successful result. - Inspect connected participants with
LIST_CHANNEL_USERS.
This establishes participation on the current connection. For the complete sequence, see joining channels.
- Discover an accessible, existing channel with
- Find an accessible, existing channel with
listChannelsand inspect it withgetChannel. - For a persistent channel, save the user's selection with
addSubscription. - Verify the saved selection with
getMySubscriptions.
A REST saved subscription alone doesn't connect a live session. Use the WebSocket API tab for live participation. In the browser app, Join saves membership and starts listening; on connection, the browser also starts listening to saved joined channels. Check the channel's connection state before talking or messaging. See channel steps.
- Find an accessible, existing channel with
Step 8: Register an Oracle Radio Mobile Device
This quick start uses the default one-time grant. For repeated enrollment by the same intended user, see reusable registration.
Choose a method to create the one-time registration grant. The intended user then signs in through the supported mobile application to complete registration.
Creating a grant requires radio.enrollment.manage. The Radio app's Devices page also requires radio.device.manage. The intended user must be enabled in Radio. The seeded Radio Administrators group includes these permissions.
Radio registers the application installation and assigns it a Radio device ID. The application uses the returned refresh token to renew access and sends a valid access token on each Radio REST request. For WebSocket, send the access token in
AUTHwhen authenticating or renewing the session. For more information, see device registration.Use the supported authentication flow.
- Find the intended enabled user with
listDeviceRegistrationUsers. Use the returned Radio user ID. - Call
createDeviceRegistrationwith that ID, an installation display name, and a future expiration. - Give the returned
qrValuesecurely to the intended user for the supported mobile application. - Have the intended user sign in and complete device registration. For a client implementation, follow the API quickstart.
Creating a grant doesn't enroll the installation. The completion response supplies the Radio device ID used for subsequent device requests.
- Find the intended enabled user with
Next Steps and FAQs
- Continue with Oracle Radio workflows or the API quickstart.
- For your first iPhone voice and text exchange, follow the Oralce Radio iPhone quick start.
- If you need to replace the initial administrator, follow administrator handoff.
- If setup fails, review administrator setup, instance operations, or Radio access, according to the failing step. For other questions, see the FAQ and troubleshooting.
- Delete resources