Title: Site Context Chat
Author: luciantstoian
Published: <strong>June 27, 2026</strong>
Last modified: June 27, 2026

---

Search plugins

![](https://ps.w.org/site-context-chat/assets/banner-772x250.png?rev=3588000)

![](https://ps.w.org/site-context-chat/assets/icon-256x256.png?rev=3588000)

# Site Context Chat

 By [luciantstoian](https://profiles.wordpress.org/luciantstoian/)

[Download](https://downloads.wordpress.org/plugin/site-context-chat.0.1.6.zip)

 * [Details](https://wordpress.org/plugins/site-context-chat/#description)
 * [Reviews](https://wordpress.org/plugins/site-context-chat/#reviews)
 *  [Installation](https://wordpress.org/plugins/site-context-chat/#installation)
 * [Development](https://wordpress.org/plugins/site-context-chat/#developers)

 [Support](https://wordpress.org/support/plugin/site-context-chat/)

## Description

**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](https://supabase.com)
backend (database + edge functions) and your own [Anthropic](https://www.anthropic.com)
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](https://github.com/LuciPanuci/Techlads_Chat)

#### 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](https://github.com/LuciPanuci/Techlads_Chat/blob/main/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-chat` edge 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_KEY` and 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

## Screenshots

[⌊Chat widget on the frontend (launcher + open panel)⌉⌊Chat widget on the frontend(
launcher + open panel)⌉[

Chat widget on the frontend (launcher + open panel)

[⌊WordPress plugin settings — credentials, status, and appearance⌉⌊WordPress plugin
settings — credentials, status, and appearance⌉[

WordPress plugin settings — credentials, status, and appearance

[⌊Chat admin — Context tab with markdown site content⌉⌊Chat admin — Context tab 
with markdown site content⌉[

Chat admin — Context tab with markdown site content

[⌊Chat admin — Settings tab (model and system prompt)⌉⌊Chat admin — Settings tab(
model and system prompt)⌉[

Chat admin — Settings tab (model and system prompt)

[⌊Chat admin — Activity tab (conversation history)⌉⌊Chat admin — Activity tab (conversation
history)⌉[

Chat admin — Activity tab (conversation history)

[⌊Chat admin — Appearance tab (brand colours preview)⌉⌊Chat admin — Appearance tab(
brand colours preview)⌉[

Chat admin — Appearance tab (brand colours preview)

## Installation

#### Quick start

 1. Install and activate **Site Context Chat**.
 2. **Settings  Site Context Chat** — follow the embedded **Setup guide**.
 3. Create a page with slug `chat-admin` and a **Shortcode** block: `[techlads_chat_admin]`
 4. Complete backend setup (Supabase + Claude) — see Setup guide Part 2.
 5. Paste **Supabase URL** and **anon key** in plugin settings  enable widget  Save.
 6. Open chat admin  unlock with your admin secret  paste site markdown  Save.

#### Backend (summary)

 1. Create a Supabase project
 2. Run SQL migrations from the [GitHub repo](https://github.com/LuciPanuci/Techlads_Chat)(`
    supabase/migrations/`)
 3. Set edge secrets: `ANTHROPIC_API_KEY`, `SITE_CHAT_ADMIN_SECRET`
 4. Deploy edge functions `site-chat` and `site-chat-admin` (Supabase CLI recommended)

Full walkthrough is in the plugin settings page and on GitHub.

## FAQ

### Does this work without any coding?

You can install the plugin without code. **Backend setup** requires either following
the setup guide (SQL paste in Supabase dashboard + a few terminal commands for function
deploy) or asking a developer to do Part 2 only.

### Which AI model does it use?

[Claude](https://www.anthropic.com/claude) via the Anthropic API. You provide your
own API key as a Supabase edge function secret.

### Where is conversation data stored?

In **your** Supabase Postgres database (project you create and control). Messages
are sent to Anthropic for generating replies.

### Is the service_role key stored in WordPress?

No. Only the **anon (public) key** and project URL go in WordPress settings. Sensitive
keys stay in Supabase edge function secrets.

### Can I use OpenAI instead of Claude?

Not out of the box. The bundled edge functions target Anthropic. The backend is 
open source — you can fork and adapt.

### Does it auto-learn from my WordPress posts?

Not automatically. You paste or import **markdown** context in the chat admin (or
export content and upload). Auto-sync from WP posts may come in a future release.

### Is there a monthly fee for this plugin?

No. The plugin is free (GPL). You pay Supabase and Anthropic directly for usage.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Site Context Chat” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ luciantstoian ](https://profiles.wordpress.org/luciantstoian/)

[Translate “Site Context Chat” into your language.](https://translate.wordpress.org/projects/wp-plugins/site-context-chat)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/site-context-chat/),
check out the [SVN repository](https://plugins.svn.wordpress.org/site-context-chat/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/site-context-chat/)
by [RSS](https://plugins.trac.wordpress.org/log/site-context-chat/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.1.6

 * Remove custom CSS field (WordPress.org policy)
 * Prefix plugin identifiers with techlads_

#### 0.1.5

 * Embedded setup guide in plugin settings
 * Theme: dark, light, auto
 * Custom CSS field with examples

#### 0.1.4

 * Theme and custom CSS options

#### 0.1.3

 * Fix chat panel visibility (replace Tailwind with bundled CSS)

#### 0.1.2

 * Fix browser `process is not defined` in bundled scripts

#### 0.1.1

 * Improved script loading and widget error states

#### 0.1.0

 * Initial release: widget, admin shortcode, Supabase connection settings

## Meta

 *  Version **0.1.6**
 *  Last updated **16 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **7.0**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [AI](https://wordpress.org/plugins/tags/ai/)[chatbot](https://wordpress.org/plugins/tags/chatbot/)
   [Claude](https://wordpress.org/plugins/tags/claude/)[customer support](https://wordpress.org/plugins/tags/customer-support/)
   [supabase](https://wordpress.org/plugins/tags/supabase/)
 *  [Advanced View](https://wordpress.org/plugins/site-context-chat/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/site-context-chat/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/site-context-chat/reviews/)

## Contributors

 *   [ luciantstoian ](https://profiles.wordpress.org/luciantstoian/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/site-context-chat/)