AI explained

How to add a custom GPT to your website: three routes

A custom GPT is a tailored assistant, but putting one on your own site means choosing a route. Compare a link out, an API build and a platform, with steps for each.

By the Askocto team · · 5 min read

A custom GPT is an assistant configured with instructions and reference material for a specific purpose, usually inside the provider's own chat product. Putting something like it on your own website is a different task, and there are three routes: link visitors to the assistant, build your own chat on a model API, or use a support platform that handles the chat for you. This article compares the three and walks through each.

In short: A link is the quickest and keeps visitors off your site. An API build gives full control and full responsibility. A platform gets you an on-site agent with sources, rules and handoff already in place.

First decide what the assistant is for

The right route depends on the job, so write the job in one sentence before choosing:

  • "Answer questions about our products and policies from our own documents."
  • "Help staff draft replies" (internal, not on the website).
  • "Collect lead details and book a call."
  • "Look up order status for logged-in customers."

An internal drafting helper may be fine as a tailored assistant that your team uses in the provider's product. A customer-facing assistant on your site has more demands: it must run on your domain, follow your rules, protect customer data and hand off to people. Check the provider's current documentation and terms to see what is allowed for each use, including whether embedding is supported.

You create the tailored assistant in the provider's product and put a button on your site that opens it in a new tab.

Steps:

  1. Write the instructions and add your reference documents.
  2. Test it with real questions.
  3. Add a link or button on your help page or contact page.

What you gain is speed: no development. What you give up is control. Visitors leave your site, you may not see their conversations, you cannot connect it to your helpdesk, and it will not recognize your logged-in customers. Handoff is manual: you tell visitors to email you.

This route fits an experiment or a niche helper, not a support channel.

Route 2: build on a model API

You write a chat widget on your site that sends messages to your own server, and your server calls a model API with your instructions and content.

Steps:

  1. Build a small server that holds the API key. Never put the key in the web page.
  2. Add retrieval so the right passages from your content go with each question.
  3. Keep conversation state per visitor.
  4. Build the chat interface, with streaming replies and error messages.
  5. Add handoff, logging and a way to review conversations.
  6. Maintain it as content, models and providers change.

You gain full control over behavior and look. You also own every layer. The guide to the ChatGPT API for support lists what a minimal build needs, and the build vs buy comparison helps you decide if it is worth it.

Route 3: a support platform

You add your content to a platform built for support, configure rules and install a widget on your site with a short script.

Steps in Askocto:

  1. Open Agents and create a Support agent.
  2. Under Build > Sources, add your website, files or pasted text.
  3. Write procedures under Build > Procedures for the requests you care about.
  4. Test in Test > Playground.
  5. Under Channels, enable the website widget and copy the embed script into your site.

The script looks like this:

<script src="https://cdn.askocto.co/embed.js" data-agent-id="agt_123" defer></script>

You gain sources, procedures, handoff to a shared inbox, analytics and tests without building them. The docs on website integration describe the options for the chat bubble and for embedding inline.

Compare the three routes

Question Link out API build Platform
Time to first version Hours Weeks Hours to days
Chat on your own pages No Yes Yes
Answers from your content Yes, within the provider's product You build retrieval Built in
Handoff to your team Manual You build it Provided
Recognizes logged-in customers No You build it Supported through identity verification
Review of conversations Depends on the product You build it Provided
Ongoing maintenance Low High Moderate: content and review

How to choose

Ask three questions:

  1. Will customers rely on it? If yes, you need handoff, review and rules, which rules out the link route as your main channel.
  2. Do you have developers with time to maintain it? If not, an API build will stall after launch.
  3. Is your use case unusual? If so, a platform's custom actions and API may still cover it, but test early.

Many teams start with a platform such as Askocto and add custom code only for what is unique. If you want to see how the product fits, the features overview is a short tour, and embedding a chat widget on any website covers installation by site type. For the difference between a general assistant and a support chatbot, see AI chatbot vs ChatGPT.

Frequently asked questions

Can I embed a custom GPT directly in my website?

Check the provider's current documentation and terms for what embedding options exist. If a direct embed is not available for your case, use an API build or a platform instead.

Is a custom GPT the same as a customer support chatbot?

Not usually. A tailored assistant answers from instructions and documents. A support chatbot also needs rules, actions, handoff to people, channels and review tools.

What data should I put into a custom assistant?

Public help content and policies are the safest start. Avoid personal customer data unless you have checked how the provider handles it. This is not legal advice, so involve your security or legal contact.

How long does it take to get an assistant on my site?

With a platform, a first version can be live the same day or within a few days, depending on how much content you add and test. An API build usually takes weeks.

Train an agent on your own help center

Askocto answers the repeat questions across chat, email and voice and hands the hard ones to your team.

Keep reading

All articles
AI explainedllm agent framework guide
Jan 28, 20255 min read

LLM agent framework guide: choose one in six steps

Pick an agent framework by scoping the job, scoring criteria, building a one-week proof of concept and checking the exit cost. Six steps, a scorecard and a decision rule.

Read article
AI explainedgemini 3.6 flash
Feb 15, 20264 min read

Gemini 3.6 Flash: test speed against answer quality

Fast models are tempting for chat and voice, but speed is only worth it if answers stay right. A protocol to measure latency and quality together on your own conversations.

Read article