Page cover

React

Integration Tutorial: Adding Interworky AI Agent to Your React Website

Step-by-Step Guide:

1. Log into the Interworky Dashboard

• After creating your Interworky account, log into the Interworky dashboard.

• Navigate to the Integration Page.

Integration Page - Interworky Dashboard
  1. Locate the Embed Code

  • In the Integration Page, locate the Embed Code section.

  • Capture your api-key next to data-api-key=

Integration Page (Copied) - Interworky Dashboard
  1. Create the Interworky Component

Create Interworky Component in your react project, copy and paste the code below

  1. Add the Interworky Component to your Application

  • Include the Interworky component in your application where you want the assistant to be initialized.

For example, you can include it in your App.jsx or a specific page component.

Use the API Key from step 2

See Example below:

And Tadaa 🎉, you just integrated Interworky AI Agent into your React project.

If you have any questions about the Interworky React Integration, please reach out to our support team at hello@interworky.com. We're here to help!

Last updated