Integrating Smart Suite with Spok Go
Overview
This article describes the process for integrating Smart Suite with Spok Go to be able to receive WCTP messages. When Spok Go is integrated with Smart Suite, the following information is synced:
- User Account Details:
-
First Name
-
Middle Name
-
Last Name
-
Title
-
Email Address
-
Only one email at this time, usually the last one entered unless the “Display Order” settings are used.
-
Will eventually be all emails for a user
-
-
Before you Begin
- Ensure Smart Suite 7.1.2 or higher is used.
- Ensure the customer has set up user accounts within Spok Go and Smart Suite.
- Ensure there is SYSDBA Access to the Smart Suite Oracle Database.
- If a customer wants existing Smart Suite users who are currently not pagable to be pagable in the future using Spok Go, they must add message IDs to those users prior to syncing them from Smart Suite to Spok Go.
For detailed information about Smart Suite configuration and requirements for integration with Spok Go, see Smart Suite Integration with Spok Go.
User Accounts
When Smart Suite is integrated to Spok Go, a subset of user account information is accessible so that Smart Suite users can sign in and use Spok Go. Any updates that are made to a user account within Smart Suite are automatically synchronized and accessible in Spok Go.
All users with an email address in Smart Suite can be synchronized. Only first name, middle name, last name, title, and one email address are accessible within Spok Go.
You will not see a user in Spok Go until that person has signed in at least once. Signing in creates the user account.
Configure Synchronization of the Console Database to the Cloud
Step 1: Build and Deploy the Gateway
Ensure the on-premises gateway is installed and configured. For more information see, Installing and Configuring the On-Premises Gateway.
Step 2: Create the Smart Suite Integration
Access Spok Go to add a Smart Suite integration.
- In Spok Go, click Administration > Integrations and click the Connectors tab.
- Click +Connector to add the Smart Suite connector.
- In the Connector Details section, enter the following:
Connector Name Enter a name for the Smart Suite connector. Description Enter a description for the Smart Suite connector. Type Select Smart Suite from the drop down. - Select the Gateway where the integration will be created.
- Click Save to save the connector. The connector is automatically enabled.
- Click the connector in the list and click the Enabled Services tab.
- Enable the WCTP Service by sliding the toggle.
- Click +Instance and enter the following info for the connector:
Client Address This is the server that is running the daemon that is sending the message. Get the IP Address from Smart Suite WITHOUT ":<port>/WCTP". Security Code Enter the WCTP password you are going to use later in Smart Suite. - If you need to edit or delete the WCTP instance, click the vertical ellipses button and select Edit or Delete.
- Under Priority mapping from WCTP to Spok Go, select a Spok Go Notification Priority for each WCTP Priority.
- After all changes are made, click Save.
For more information on protocol support for WCTP, see Spok Go WCTP Protocol Support.
Configure Data Exchange
- Click the connector in the list and click the Data Exchange tab.
- For Entity Imports select the following:
- In Select entities you want to import, click Select All or select the entities individually.
- In Select how you want to import that data, select either Manually or Schedule Job. If you select Schedule Job, enter the Start Date, Time, and Frequency.
- In Select where you want to import the file, enter the folder path in the SFTP server that is running on the gateway.
Examples: connector1 or connectorname.
This must be unique per connector and the path must not be reused.
- Enable Entity Exports and enter the URL of the console listener.
Example: https://10.40.182.35/smartrestservice/restServices/processEvent adjust accordingly if HTTP or a non-standard port is being used.
The Application Key section then becomes available. - Under Application Key, click Generate Secret Key. Copy and Save this key. This key is only available during connector creation and will need to be recreated if lost. Use this key in the console integration to access the Spok Go public API. For information on where to enter this in the CCS consoles, see that product's integration documentation.
- Click Save to save all changes or Discard to discard changes.
Running the Import/Export
Using the CLI Tool
Disable the Connector
If you need to disable the connector perform the following.
- Click the connector in the list.
- Click the slider to disable the connector.
Delete the Connector
If you need to delete the connector perform the following.
- Click the connector in the list.
- Click Delete this connector permanently. This will permanently delete the connector so be sure only to select this if the connector is not needed.
Step 3: Configure the WCTP Out Settings in Smart Suite
- Determine the password you will use to secure WCTP communication. Record this password for later use when generating an encrypted password for the Smart Suite configuration and for the securityCode in the Configure WCTP section.
- Manage the certificate.
-
Export the public key of the certificate that was loaded on the gateway to enable HTTPS to a *.PEM format file.
-
Copy the *.PEM file that is created onto the Smart Suite app server’s file system.
-
-
Sign in to the Smart Suite app server as a Super User.
-
At the Linux command line, using the password from earlier, type /home/amcom/bin/encrypt.sh and press Enter. Enter the password. An encrypted password is displayed. Copy and paste the encrypted password into a text file for later use.
-
At the Linux command line, enter /home/amcom/bin/serviceMenu.sh
For more information on using the service Menu Tool, see the Using the Smart Suite Service Menu Tool document.-
Add a wctp_in process, noting the instance number used.
-
Add a wctp_out process, noting the instance number used.
-
Exit the serviceMenu.
-
-
Open the /home/amcom/wctp_in.ini file in a text editor.
-
Locate the section corresponding to the wctp_in process that was created.
-
Add an unused, non-SSL port number as the NETWORK PORT NUMBER.
For example: 8989 -
Save the file.
-
Restart the wctp_in service you just updated.
-
-
Open the /home/amcom/wctp_out.ini file in a text editor.
-
Locate the section corresponding to the wctp_out process that was created.
-
For the Password Field Name enter "securityCode". This is case sensitive.
-
For the SENDER ID field, enter the value using the following format:
<IP address of the Smart Suite application server>:<port>/WCTP
Note that the <port> should match the port that you configured as the NETWORK PORT NUMBER earlier.
For example: 192.0.1.43:8989/WCTP. -
Save the <IP address or domain> portion of the SENDER ID for later use in the Configure WCTP section.
-
For the SENDER PASSWORD field, enter the encrypted password from earlier.
-
Change the FORMAT CALLBACK NUMBER from "T" to "F"
-
Update the CERTIFICATE FILE NAME with the full path, including file name, of the *.PEM file from earlier.
-
Ensure that the SSL PROTOCOL VERSION is TLS 1.2 or higher.
-
Save the file.
-
Restart the wctp_out service you just created.
-
-
Ensure that the Linux system’s firewall is configured to allow traffic into the <port> that was configured as the NETWORK PORT NUMBER:
firewall-cmd --zone=public --add-port=<port>/tcp --permanent
service firewalld restart
Step 4: Configure Paging Options in Smart Center
Within Smart Suite, devices need to be created so they can be assigned by Spok Go automatically.
For more detailed information about Smart Suite configuration for integration with Spok Go, see Smart Suite Integration with Spok Go.
- Sign in to Smart Center.
- Click Setup > Pager Setup > Pager Models.
- Click Enter to search for existing Pager Model entries.
- Ensure that an "ALPHA" Pager Model record exists, or create one if needed.
- Click Setup > Pager Setup> Pager RCC.
- Click Esc to leave query mode.
- For the RCC field, enter a name such as Spok_Go.
- For the Connection type field, enter Network.
- For the Server Name field, enter the FQDN or IP address of the load balancer for the on-premises gateway. (Do not include “https://” Protocol.)
- For the Port number, enter 443.
- For the Path, enter WCTP.
- For the Protocol, enter HTTPS.
- Click File > Save.
- Close the window.
- Click Setup > Pager Setup> Pager Class of Service.
- Click Esc to leave query mode.
- For the COS field, enter Spok_Go_WCTP (or the same value that was used to name Spok Go’s Pager Class of Service in Smart Center).
- For the Protocol field, enter WCTP.
- For the RCC field, enter the RCC name you entered above (Spok_Go).
- For the Callback # field, enter 1.
- For the Process ID, enter the instance ID for the daemon that was previously used.
- Click File > Save. A warning displays.
-
Click OK on the warning and close the window.
Optional Step: Associate Spok Go User IDs as pagers for Smart Suite Users
These users will not have pager IDs auto-added. To manually add a pager ID to these users, see Manually Add Pager IDs below.
Manually Add Pager IDs (optional steps)
Use these steps to manually assign a pager ID to users who previously did not have one and that have not be synced to Spok Go.
- Get the User ID from Spok Go.
- Click the Administration icon.
- Click the user account. An edit screen is displayed.
- Click the Access and Identity tab.
- View and copy the Spok ID.
- In Smart Center, click Admin > Pager Admin > Pagers.
- Click Esc to leave query mode.
- For the Pager ID field, enter the user ID of the Spok Go user copied in step 1d.
- For the COS field, enter Spok_Go_WCTP.
- For the Model field, enter ALPHA.
- Click File > Save.
- Close the window.
- In Smart Center, click Admin > Listings.
- Click Esc to leave query mode.
- For the First field, enter a first name.
- For the Last field, enter a last name.
- For the Messaging ID field, click F3 to allow the system to auto-assign the next available ID.
- Click the Pagers tab at the bottom of the window.
- For the Order field, enter the next available number (including 1 if this is the first pagable device for the user).
- For the Pager ID field, enter the user ID of the Spok Go user copied in step 1d in the following format: “User_user ID”.
Note that other Spok Go entities that can be messaged via WCTP include Care Team Roles (ex: “Role_role ID”) and Message Groups (ex: “Group_group ID”). - Click Save.
- Click the Messaging tab at the bottom of the Listings form.
- Change the status to 2.
- Click Save.
Step 5: Send a Message to a Spok Go User
Follow these steps to send a message to a Spok Go user.
- Open the console and click Paging.
- Search for the Spok Go user that you created by entering the messaging ID assigned to them.
- Click the pager icon.
- Enter a message and click Send Message.
- Verify the user receives it on their Spok Go device.
- Open the console.
WCTP Status
Smart Suite to Spok Go supports machine-level responses for successful messages that include Delivered and Read. Failed messages return error statuses with error codes that are relevant to the reason for the error.