Site Context Chat adds a floating AI chat widget to your WordPress site. Visitors get instant answers grounded in your content — not generic ChatGPT small talk. When someone is ready, the bot can hand off a qualified inquiry to your team.
This plugin is the WordPress frontend. You connect it to a Supabase backend (database + edge functions) and your own Anthropic API key. No monthly SaaS fee to us — bring your own keys (BYOK).
Who is this for?
- Agencies & developers who want a self-hosted, open-source chat stack for client sites
- Service businesses that want discovery chat + lead handoff, not just a contact form
- Teams comfortable with a one-time backend setup (~30–45 min) or working with a developer
Features
- Floating chat widget (dark, light, or auto theme)
- Chat admin page via shortcode
[techlads_chat_admin] - Train the bot with markdown site context (services, FAQs, how you work)
- Conversation history stored in your Supabase database
- Inquiry / contact handoff when the visitor is ready
- Embedded step-by-step setup guide in plugin settings
- Open source — full backend code on GitHub
Important
The chatbot will not reply until you complete the backend setup (Supabase project, SQL migrations, edge functions, API secrets). The plugin settings page includes a full setup guide. Detailed docs: BACKEND-SETUP.md
Not included in this plugin
- Anthropic API subscription / usage fees (paid by you to Anthropic)
- Supabase project (free tier available)
- Automatic indexing of WordPress posts — context is managed as markdown in the chat admin
External services
This plugin connects to external services configured by the site administrator. No data is sent to the plugin author.
Supabase
- What: Database, authentication context, and serverless edge functions for chat API and admin API.
- When: Whenever a visitor uses the chat widget or an administrator uses the chat admin (after URL and anon key are saved in settings).
- What data: Chat messages, session IDs, route path, inquiry form fields (name, email, message), and site configuration. Stored in the administrator’s Supabase project.
- Terms: https://supabase.com/terms
- Privacy: https://supabase.com/privacy
Anthropic (Claude)
- What: Large language model used to generate chat replies.
- When: When the
site-chatedge function processes a message (configured on the administrator’s Supabase project, not in this plugin directly). - What data: Conversation context, system prompt including site markdown, and the visitor’s message.
- Terms: https://www.anthropic.com/legal/consumer-terms
- Privacy: https://www.anthropic.com/legal/privacy
Resend (optional)
- What: Email delivery for chat inquiries (optional backend configuration).
- When: Only if the administrator configures
RESEND_API_KEYand related secrets on Supabase. - What data: Inquiry notification content (visitor name, email, message).
- Terms: https://resend.com/legal/terms-of-service
- Privacy: https://resend.com/legal/privacy-policy
