Create the configuration setting

You create a custom configuration setting in Oracle Service Cloud for communicating with Twilio.

Before you begin

You can use the config.json file as a template; it is in the twilio/cx/imports/sample_config folder that you downloaded.

Procedure

  1. In Oracle Service Cloud, click the Configuration button on the navigation pane.
  2. Expand Site Configuration, then double-click Configuration Settings.
    The Configuration Settings editor appears, with the search window open.
  3. Click Cancel to close the search window.
  4. Click New in the ribbon, then select Text.
  5. Fill in the following fields:
    Field Value
    Key CUSTOM_CFG_Accel_Ext_Integrations
    Type Interface
    Required Yes
    Maximum Length 300000
    Value Complete the JSON code with the values from your Twilio configuration. The JSON code should look like the following example (these are not real values):
    {
        "cti": {
            "twilio": {
                "account_sid": "AC0123456789abcdef0123456789abcdef",
                "auth_token": "fedcba9876543210fedcba9876543210",
                "app_sid": "AP0123456789abcdef0123456789abcdef",
                "phone_number": "+18005551212",
                "workspace": {
                    "name": "osvc_workspace",
                    "sid": "WS0123456789abcdef0123456789abcdef"
                },
                "activities": {
                    "Offline": "WA0123456789abcdef0123456789abcdef",
                    "Available": "WA1123456789abcdef0123456789abcdef",
                    "Busy": "WA2123456789abcdef0123456789abcdef",
                    "Reserved": "WA3123456789abcdef0123456789abcdef",
                    "Ready": "WA4123456789abcdef0123456789abcdef",
                    "Not Available": "WA5123456789abcdef0123456789abcdef"
                },
                "queue": {
                    "name": "osvc_voice_queue",
                    "sid": "WQ0123456789abcdef0123456789abcdef"
                },
                "workflow": {
                    "name": "osvc_workflow",
                    "sid": "WW0123456789abcdef0123456789abcdef"
                },
                "voice": "woman"
            }
        }
    }
  6. Click Save.

Results

CUSTOM_CFG_Accel_Ext_Integrations is listed in the Configuration Settings editor when you search in the Custom folder.