Your application creates a JSON Web Token (JWT) signed by a private key and makes a request to the Connect AI Embed Create Connection API.
The end user adds connection information for the particular data connector, such as Salesforce, and then tests and saves the connection.
Connect AI Embed calls Create Connection.
The end user clicks the Close button. Connect AI Embed redirects with a connection Id back to your web page.