#Authanticated agents

1 messages · Page 1 of 1 (latest)

wheat burrow
#

Probably the best solution for you would be to click "three dots" on the agent and select enable auth.

Then at the beginning of the conversation you will ask your server to generate a signed url from our server (client has no access to xi_api_keys).

Then provide the url which is valid for 10 mins in the SDK startSession function.

tardy sluice
#

If the session needs to go beyond 10 minutes, can I generate a new signed URL to use before the old one runs out and switch without causing disruption?

wheat burrow
#

Checked, it is actually valid for 15 mins

#

And conversation started within that time will be able to run to its natural completion 🙂