Setup and integration guide

Publish an Askavell chatbot to your website, WordPress site, or backend. Each integration uses the release you approve in your workspace.

Publish your first bot

  1. Register with a password and your business details. After a platform administrator approves the application, sign in with that password.
  2. Verify a chat model and an embedding model in AI providers.
  3. Import a source in Knowledge. Check that indexing completes and an owner or admin approves it for visitors.
  4. Create a bot, select both models, assign indexed sources, and test the draft in Playground.
  5. Add a website origin in Integrations. Open Bots and publish the release.

Install on a website

In Integrations, add the exact website origin. Copy the bot’s embed snippet into your HTML before the closing body tag.

<script defer src="https://askavell.comova.live/widget.js"
  data-rag-widget="YOUR_WIDGET_ID"></script>

Use the same values with Next.js Script or a regular React app.

import Script from "next/script";

<Script src="https://askavell.comova.live/widget.js"
  data-rag-widget="YOUR_WIDGET_ID"
  strategy="afterInteractive" />

Allow the platform origin in your site’s script-src and frame-src policies if set. The iframe manages its layout and accessibility independently.

Install on WordPress

Copy the embed snippet from Integrations into a Custom HTML block or your site-wide script area. Allow the production site’s exact origin, including www when applicable.

On sites that strip scripts from editable content but permit plugins, install the shortcode plugin and add the shortcode below with your values.

[rag_studio_widget origin="https://askavell.comova.live" id="YOUR_WIDGET_ID"]

Sites that block both custom scripts and plugin installation need a plan or administrator that permits one of those options.

Use the server API

Create a bot-scoped key in Integrations and save it in your backend’s secret store. Visitor keys use approved visitor sources. Private keys can also use internal sources pinned to the release.

curl --request POST "https://askavell.comova.live/api/v1/bots/YOUR_BOT_ID/chat" \
  --header "Authorization: Bearer $RAG_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{"message":"What is the returns policy?","stream":false}'

Set stream to true for Server-Sent Events. Treat complete as the final answer and citations. No browser CORS access is granted for backend keys.