OpenSpeechAI
Integrations

Other Platforms

General guide for adding the OpenSpeechAI chat widget to any website platform not specifically covered in our docs.

What You'll Need

Before starting the installation, make sure you have:

  • A website platform that allows custom code or scripts
  • OpenSpeechAI account with a configured agent
  • Admin access to your website's settings

Get Your Widget Script

Before you can install the widget, you need to get your unique widget script from the OpenSpeechAI dashboard.

To get your widget script:

  1. Log in to your OpenSpeechAI dashboard
  2. Navigate to Agents and select your agent
  3. Click the Widget tab at the top
  4. You'll see your unique installation code
  5. Click Copy to copy it to your clipboard

The code looks like this:

<script
  src="https://widget.openspeechai.com/widgets/chat-widget.js?widgetId=abc-123"
  defer
  crossorigin="anonymous"
></script>

General Installation Steps

Every website platform is different, but the general approach is the same:

  1. Find your platform's Custom Code or Code Injection settings
  2. Look for a section to add code to the Footer or Body end
  3. Paste your widget script there
  4. Save your changes

Important: Always add the script before the closing </body> tag, not in the <head> section. This ensures your page loads quickly and the widget works correctly.

Common Platforms

Here's where to find custom code settings on popular platforms:

Framer

Framer allows you to add custom code that runs on your entire website or on a specific page.

  1. Click Project Settings in the top right corner
  2. Go to the General tab
  3. Scroll down to the Custom Code section
  4. Paste your widget script in the End of <body> tag field
  5. Click Save

Framer Custom Code settings

Important: Custom code does not load in Framer's preview mode. You must publish your website first, then open it in the browser to see the widget.

To add the widget to a single page only, go to that page's settings and paste the script in the page-specific custom code section instead.

Carrd

Requires Pro Standard plan or higher.

  1. Click Add Element
  2. Click Embed to create a new Embed element
  3. Set Type to Code
  4. Paste your widget script in the Code field
  5. Set Style to Hidden, then select Body End
  6. Publish your site

Note: The embed element will not output anything in the builder. You must publish the site to see the widget.

Ghost

  1. Go to SettingsAdvancedCode Injection
  2. Paste your widget script in the Site Footer field
  3. Click Save

The Site Footer code is placed before the closing </body> tag and will appear on every page of your site.

HTML/Static Sites

  • Add the script directly before </body> in your HTML file

Test Your Installation

After adding the script:

  1. Open your site in a new browser tab
  2. You should see the chat widget in the bottom-right corner
  3. Click on the widget to open the chat interface
  4. Send a test message to verify your agent responds

If the widget doesn't appear, try clearing your browser cache:

  • Windows/Linux: Press Ctrl + Shift + R
  • Mac: Press Cmd + Shift + R

Troubleshooting

Widget not appearing?

  • Clear your browser cache and refresh
  • Verify the script is placed before </body>, not in <head>
  • Check that you copied the complete script from your dashboard
  • Confirm your platform supports custom JavaScript

Platform doesn't allow custom code?

  • Some platforms restrict custom scripts on free plans
  • Check if upgrading your plan unlocks custom code features
  • Contact your platform's support for guidance

Need help?

If you're still experiencing issues, email us at shri@openspeechai.com with:

  • Your website URL
  • Which platform you're using
  • Screenshot of the issue

We're here to help you get up and running!