--- title: Embedded AI Assistant Installation - ServiceNow excerpt: '' deprecated: false hidden: false metadata: title: '' description: '' robots: index next: description: '' --- # Installing Embedded AI Assistant using SSO (Recommended) First, follow the steps to configure an SSO application for authentication to the Embedded AI assistant in the guide related to the SSO system you are using (e.g. Azure, Okta, etc.). Okta OIDC: /docs/moveworks-for-web-installation-okta-oidc/ Azure OIDC: /docs/moveworks-for-web-installation-azure-oidc/ For additional SSO system guides, check the navigation menu on the left side of the page. Once steps are complete and you have your code snippet, you can add it to your ServiceNow service portal. Navigate to the `sp_portal` table. Find the portal(s) on which you'd like to include the widget, and click into its Theme record. ![](https://files.readme.io/da53400-small-Untitled_-_2023-05-04T114658.268.png) Find the footer field: ![](https://files.readme.io/f2e8036-small-Untitled_-_2023-05-04T114718.130.png) If there is nothing there, use the magnifying glass to create a new footer record and navigate to it. If there is already a footer there, navigate to that record. In the footer record, add the relevant snippet to the Body HTML template field. For example: ``` \n\n", "client_script_uri": "https://webchat-kprod.moveworks.io/movewebchat-client-script.js" } ``` ![](https://files.readme.io/6dbd2f4e120b2cdc4b5ea0448c5b9ab4380a2835881088e46c3bd7959404e5c8-image.png)
5. Hit **Send** to initiate the API call and the AI Assistant 6. When complete, the response should look similar to the following and should show **200 OK** ![](https://files.readme.io/7f2abfd86e19036696f865fb1f20ccee46d8c76a975cc5bf3bb991beb9f11570-image.png)
This API also allows us to make tweaks to the positioning of the AI Assistant on the page if necessary (in case it is blocking something else on your page for instance). The AI Assistant should now be available on the portal pages where it was embedded!