
Generic endpoint settings
Learn about the generic endpoint settings on the following pages:- Endpoints overview
- NLU connectors
- Data protection & analytics
- Transformer functions
- Real-time translation
- Session management
- Copilot
- Inject and Notify
Endpoint-specific settings
Advanced tab
Sunshine Conversations connection
How to set up
1. Create a Sunshine Conversations endpoint
1. Create a Sunshine Conversations endpoint
- In the left-side menu of your project, go to Deploy > Endpoints and click + New endpoint.
- In the New endpoint dialog, select the Sunshine Conversations endpoint type and click Create endpoint.
- On the Setup tab, configure the following:
- Endpoint name: enter a unique name.
- Target type: select the type of target.
- Target: select an agent or flow from the list.
- Save changes. Then copy the URL from the Endpoint URL field.
2. Create a Sunshine Conversations app
2. Create a Sunshine Conversations app
- Go to the Sunshine Conversations Dashboard and log in with your Zendesk account.
- If you don’t have a workspace yet, create one first. Otherwise, select your existing workspace.
- Click Create App. Enter the name and description for your app. Click Create.
- Go to the Channels or Integrations tab. Add the messaging channels you want, for example, WhatsApp, Facebook Messenger, Slack. Follow the Sunshine Conversations instructions for each integration.
- Open the Settings tab of your app. Go to API Keys and click + Create new secret key.
- Copy the Key ID and Secret for later use in the Cognigy Endpoint. Save changes.
3. Complete the endpoint configuration
3. Complete the endpoint configuration
- In the Cognigy interface, open the Sunshine Conversations Endpoint you created.
- Go to the Advanced tab. In the Sunshine Conversations connection section, fill in the following fields:
- Authentication type: select API key or OAuth.
- OAuth Connection: if you selected OAuth, select your connection. With OAuth, the Key ID and Secret fields are hidden and the API version is fixed to
v2. - API version: select either
v1.1orv2, matching your Sunshine Conversations app. - Key ID: paste the key ID you copied from Sunshine Conversations.
- Secret: paste the secret you copied.
- URI: enter your app’s base URI, for example,
https://app.smooch.io. Omit the trailing/.
- Save changes.
4. Add a webhook in Sunshine Conversations
4. Add a webhook in Sunshine Conversations
- In your Sunshine Conversations app, go to Settings > Integrations > Webhooks.
- Click Add Webhook.
- Paste the Cognigy Endpoint URL you copied earlier into the URL field.
- For Triggers, select at least the following options:
AppUser messagesPostbacks
- Ensure the API Version matches your Cognigy Endpoint version (v1.1 or v2). Save the webhook.