
A self-hosted chatbot runs on your own website instead of on a vendor’s servers. For most small businesses that means one thing in practice: chats and leads are stored in your own database, under your own backups and your own privacy policy. This guide explains what self-hosting covers, what it does not, and how to set it up on WordPress.
What “self-hosted” means for a chatbot
A chatbot has three parts: the chat window your visitors see, the place where conversations and leads are stored, and the AI model that writes the answers. A hosted chatbot runs the first two on the vendor’s servers and usually picks the AI for you. A self-hosted chatbot runs the window and the storage on your site.
The AI model is the part that needs a closer look. Running a large language model on your own server needs hardware that most websites do not have. So most self-hosted website chatbots, Talkwyn included, still send each question to an AI provider you choose, along with the matching text from your site, to write the answer.
What stays on your server with Talkwyn
- Chats, if you keep logs on. They are deleted after 30 days by default, or never stored if you turn logs off.
- Leads, with the visitor’s question and the page they came from, until you delete them. You can export them as CSV.
- The index of your pages, posts and products that answers are built from.
- Your settings and AI keys.
Talkwyn also works with the WordPress personal data export and erase tools, so you can answer a visitor who asks for their data.
What still leaves your server
- The visitor’s message, recent conversation and matching page text go to the AI provider you picked, to generate the answer.
- Lead emails go through your site’s email setup to your inbox.
- With Pro, if you set them up, new leads are posted to Slack or Telegram.
- If you add Cloudflare Turnstile keys, the lead form’s spam check talks to Cloudflare.
Nothing goes to talkwyn.com from your visitors’ chats. The free plugin only contacts talkwyn.com if you tick the news opt-in in the setup wizard, which is unticked by default.
Why businesses choose a self-hosted chatbot
- Ownership. Customer conversations are business records. They stay in the database you already back up.
- One privacy story. You describe one system in your privacy policy, plus the AI provider you chose.
- No account to lose. If you stop paying for Pro, the free plugin keeps working with all your data.
- Your choice of AI. Pick the provider whose terms suit you, and change it any time.
How to set up a self-hosted chatbot on WordPress
- Install Talkwyn and open the setup wizard.
- Paste an AI key. Pick a provider whose data terms you are comfortable with.
- Click Scan my site. Only public, published content is read; drafts, users and passwords never are.
- Set the log retention under Talkwyn, Privacy, and turn on the privacy notice in the chat.
- Mention the chatbot and your AI provider in your own privacy policy.
Our chatbot privacy checklist goes through the questions to ask about any chatbot, hosted or not.
Frequently asked questions
Is Talkwyn fully self-hosted?
The chat, storage and index run in your WordPress site. Answers are written by the AI provider you choose, so messages go to that provider.
Can I run the AI model on my own server?
Not with Talkwyn today. It connects to cloud AI providers such as Groq and Google Gemini, and with Pro OpenRouter, Cloudflare Workers AI, OpenAI, Anthropic Claude, Mistral and DeepSeek.
How long are chats kept?
30 days by default. You can change the number of days or turn logs off. Leads stay until you delete them.
What happens to my data if I uninstall?
It stays unless you turn on “Delete all Talkwyn data” before uninstalling.