You don't embed ChatGPT itself. You add a chatbot that uses OpenAI's models through their API and answers from your own content. You can do it with a plug-in, a monthly chatbot tool, or a custom build. Whichever you choose, never put your API key in the website's front-end code.
First, a quick clarification
ChatGPT is OpenAI's consumer app, the one you log into at chatgpt.com. When people say "add ChatGPT to my website", what they actually want is a chatbot powered by the same models, sitting on their site and answering questions about their business.
That's done through the OpenAI API: a separate, pay-as-you-go account on platform.openai.com. Your ChatGPT Plus subscription, if you have one, doesn't come into it.
The other thing to know early: on its own, the model knows nothing about your opening hours or your refund policy. Every good website chatbot works by looking up the relevant bits of your content and handing them to the model with the visitor's question. Developers call this retrieval. You just need to know it's what stops the bot making things up.
Way 1: a plug-in for your website builder
WordPress, Shopify, Wix and most other platforms have chatbot plug-ins that connect to your OpenAI key.
- Create an account at platform.openai.com, add billing, and set a monthly budget limit.
- Create an API key.
- Install the plug-in and paste the key into its settings (check it stores it on the server, not in the page).
- Point it at your pages or upload your FAQs, then test it with real customer questions.
Best for: simple sites and owners happy to tinker. Downside: quality varies a lot between plug-ins, and the setup and testing are all on you.
Way 2: a hosted chatbot tool
Hosted tools give you a dashboard: upload documents, customise the widget, paste one snippet into your site. Many include live-chat handover to your team.
Best for: teams that want analytics and inbox features without any development. Downside: a monthly subscription that usually grows with usage, and your conversations stored on someone else's platform. Check what happens to your data if you cancel.
Way 3: a custom build on the OpenAI API
A developer builds the chatbot for your site. Here's roughly what that involves, so you can judge any quote you get:
- A small server-side piece that holds your API key and talks to OpenAI. The website talks to this, never to OpenAI directly.
- Your content, prepared: pages, PDFs and FAQs cleaned up and split into chunks the bot can look up.
- Instructions that set the tone, what it may and may not answer, and when to hand over to a human.
- The chat widget, styled to match your site.
- Guard rails: rate limits so nobody can spam it, and logging so you can see what people ask.
Best for: businesses with real question volume, specific rules, or a need to connect the bot to a CRM or booking system. Downside: a higher upfront cost than a plug-in. Ours is $999 one-time, running on your own OpenAI account so there's no monthly fee from us.
The one mistake to avoid
Which one should you choose?
If you just want to answer a dozen common questions and you like DIY, start with a plug-in. If you want a dashboard and live chat without touching code, try a hosted tool for a month. If you get a steady stream of questions, have rules the bot must follow, or want to own the whole thing, a custom build pays for itself.
Either way, before you start, read our breakdown of what an AI chatbot really costs. It covers the running costs and the bits people forget to budget for.