Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/arainey2022/myaskai-docs/llms.txt

Use this file to discover all available pages before exploring further.

Once your AI agent is configured and you’re happy with its knowledge base, the next step is getting it in front of your customers. My AskAI provides a lightweight JavaScript snippet that drops a chat widget onto any web page, plus purpose-built integrations for the most popular platforms. Whichever route you take, the widget is the same agent — your content, your branding, and your escalation rules — just surfaced wherever your customers already are.

Embedding your agent

1

Open the Channels settings

In the My AskAI dashboard, navigate to Channels in the left-hand sidebar. Select Website widget to find your unique embed snippet and configuration options.
2

Copy your embed snippet

Your personalised script tag is shown in the Embed tab. It looks like this:
<!-- My AskAI chat widget -->
<script>
  window.myAskAISettings = {
    agentId: "YOUR_AGENT_ID",
    position: "bottom-right",
    primaryColor: "#6366f1",
  };
</script>
<script
  src="https://myaskai.com/widget/v1/embed.js"
  async
  defer
></script>
Replace YOUR_AGENT_ID with the ID shown in your dashboard. The window.myAskAISettings object lets you customise the widget’s position and brand colour before it loads.
3

Add the snippet to your site

Paste the script tag just before the closing </body> tag on every page where you want the widget to appear. Use the platform-specific instructions below if you’re on WordPress, Shopify, or a custom HTML site.
4

Verify the widget is live

Open your website in a browser. The chat bubble should appear in the corner you configured. Click it to confirm the widget loads and your agent responds correctly.
5

Go live with real visitors

Once testing is complete (see the Testing guide), toggle your agent to Active in the dashboard so it starts responding to real customer conversations.

Platform-specific setup

For any hand-coded site or CMS that lets you edit raw HTML, paste the snippet directly into your page template:
<!-- Paste before </body> in your HTML template -->
<script>
  window.myAskAISettings = {
    agentId: "YOUR_AGENT_ID",
    position: "bottom-right",
  };
</script>
<script
  src="https://myaskai.com/widget/v1/embed.js"
  async
  defer
></script>
Tips:
  • Place it in a shared layout file or footer partial so it loads on every page automatically.
  • If your CMS has a Custom HTML or Footer scripts field in its settings, paste it there — no theme editing required.

Zendesk integration

Connecting My AskAI to Zendesk is handled through the Channels section rather than a script embed. My AskAI integrates directly with both Zendesk Messaging and Zendesk Tickets, allowing your agent to respond to support tickets and live-chat conversations without any code changes.
1

Go to Channels → Zendesk

In your My AskAI dashboard, navigate to Channels and select Zendesk. Choose between Messaging (for live chat) or Tickets (for email-based support).
2

Authenticate with Zendesk

Click Connect and follow the OAuth flow to authorise My AskAI to access your Zendesk account. You’ll need admin permissions in Zendesk.
3

Configure routing and escalation

Set up which ticket types or conversations your AI agent should handle, and define escalation rules so complex queries are routed to human agents automatically.
4

Test in a staging environment

Send a few test messages through your Zendesk widget to confirm the AI is responding correctly before enabling it for all incoming conversations.
My AskAI also supports Zendesk tagging and Zendesk Playbooks for more advanced routing workflows. See the Zendesk channel docs for the full feature set.

More channels

My AskAI connects to a wide range of live-chat and helpdesk platforms beyond the ones covered here, including Intercom, Freshchat, Freshdesk, Gorgias, HubSpot, Slack, Microsoft Teams, and more.

Browse all channel integrations

View the full list of supported channels, feature comparisons, and setup guides in the Features → Channels section.

Build docs developers (and LLMs) love