Prerequisites
- Familiarity with the Socket.IO library.
- Setup of the Cognigy Socket.IO client.
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
- Inject and Notify
- Copilot
How to set up
Configure in Cognigy
Configure a Socket.IO endpoint
Configure a Socket.IO endpoint
- In the left-side menu of your project, click Deploy > Endpoints.
- On the Endpoints page, click + New Endpoint.
- In the New Endpoint dialog, select the Socket.IO endpoint type and click Create endpoint.
- On the Setup tab, configure the following: Endpoint name ā enter a unique name. Target type ā select an agent or flow from the list. Save changes.
-
In the Integration section, copy the URL from the Endpoint URL field.
The endpoint URL consists of two parts separated by a slash:
- The server address (
<Socket-Endpoint-URL>), for example,https://endpoint-trial.cognigy.ai. - The token (
<URLToken>) that comes after the slash, for example,0e77b9a19f33cb68b3f528b3b28d4b32386162559160ceb9ec85036d83dd8f8b.
- The server address (
Configure in the third-party provider
1. Send a request
1. Send a request
- Cognigy Socket.IO client
- Other clients
2. Get a response
2. Get a response
Messages can be received by listening to the
output event. The responses have the following format:- Cognigy Socket.IO client
- Other clients