
Generic Endpoint Settings
Learn about the generic Endpoint settings on the following pages:- Endpoints Overview
- NLU Connectors
- Data Protection & Analytics
- Real-Time Translation Settings
- Session Management
- Transformer Functions
- Handover Settings
- Inject and Notify
- Copilot
Specific Endpoint Settings
Sunshine Conversations Setup
Sunshine Conversations Setup
How to Set Up
1. Create a Sunshine Conversations Endpoint
1. Create a Sunshine Conversations Endpoint
- In the left-side menu of your Project, click Deploy > Endpoints.
- On the Endpoints page, click + New Endpoint.
- In the New Endpoint section, do the following:
- Select the Sunshine Conversations Endpoint type.
- Specify a unique name.
- Select a Flow from the list.
- In the Configuration Information section, 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.AI Endpoint. Save Changes.
3. Complete the Endpoint Configuration
3. Complete the Endpoint Configuration
- In the Cognigy.AI interface, open the Sunshine Conversations Endpoint you created.
- In the Sunshine Conversations Setup section, fill in the required fields:
- API Version - select either v1.1 or v2, matching your Sunshine Conversations app.
- Key ID - paste the key ID you copied from Sunshine Conversations.
- Secret - paste the secret you copied.
- URI - use 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.AI 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.AI Endpoint version (v1.1 or v2). Save the webhook.