Dixa
The following four steps will guide you on how to integrate Dixa events with DigitalGenius.
Step 1. Create the entry flow
Create a new flow that will be the entry flow to handle end-user messages. Copy the id of the flow as it will be used to set up the Dixa webhook.
Step 2. Create the Dixa webhook
Navigate to Settings -> Integrations -> Webhooks -> Click on Add Webhook
.
The webhook URL will depend on your region, EU or US, and we will use the flow id from the previous step.
https://flow-server.{{region}}.dgdeepai.com/dixa/{{flow_id}}/webhook
![Screenshot 2022-09-23 at 10.26.48.png 3344](https://files.readme.io/fca579a-Screenshot_2022-09-23_at_10.26.48.png)
Examples
EU: https://flow-server.eu.dgdeepai.com/dixa/4dfcc257-bc88-49ed-a6b7-0f55da38fbe5/webhook
US: https://flow-server.eu.dgdeepai.com/dixa/4dfcc257-bc88-49ed-a6b7-0f55da38fbe5/webhook
For events, be sure to enable all events:
![Screenshot 2022-09-23 at 10.26.48.png 3344](https://files.readme.io/5bae482-Screenshot_2022-09-23_at_10.26.48.png)
In order to authorise the webhook, create a new token in the customers DigitalGenius dashboard in the Tools -> Api Token section. Be sure to give the token pair Read and Write
permissions for All
resources.
![Screenshot 2022-09-23 at 10.28.41.png 1326](https://files.readme.io/dfd46a5-Screenshot_2022-09-23_at_10.28.41.png)
Copy the api key/secret pair and create a new Authorization for the Dixa webhook, using the DG api key as the username and the secret as the password.
![Screenshot 2022-09-23 at 10.31.48.png 3336](https://files.readme.io/5fb36e8-Screenshot_2022-09-23_at_10.31.48.png)
Finally, click on Create Webhook
.
Step 3. Create a Dixa API token
Navigate to Settings -> Integrations -> API Tokens and create a new token and copy it to your clipboard
![Screenshot 2022-09-23 at 10.33.13.png 2426](https://files.readme.io/84abd8e-Screenshot_2022-09-23_at_10.33.13.png)
Step 4. Create the connection on the DigitalGenius dashboard
Go to the customers Dg Dashboard and navigate to Modules / Dixa and create a new connection. We will now paste the API token generated in the previous steps. Provide a descriptive name for the new connection.
![Screenshot 2022-09-23 at 11.04.08.png 1092](https://files.readme.io/995ac88-Screenshot_2022-09-23_at_11.04.08.png)
Finally, click on the i
icon in the newly created connection and copy the connection id.
Updated 8 months ago