Skip to content

Turn on the features

Everything in a WPTom template works before you set anything up: forms log what they would send, the chat explains how to turn it on, search uses a built-in index. Each feature switches on when you add its key. Keys are secrets: they go in a file called .env on your computer and in your host’s settings, never in your code or in Git.

  1. In your project folder, copy .env.example to .env:
    • macOS / Linux: cp .env.example .env
    • Windows (PowerShell): Copy-Item .env.example .env
  2. Open .env in your editor. Every setting has a comment saying what it does and where to get it. Fill in only what you use; leave the rest empty.
  3. Restart npm run dev (Ctrl C, then npm run dev).
  4. When the site is online, add the same names and values in your host’s settings (on Vercel: Project → Settings → Environment Variables) and redeploy. .env itself is never uploaded (it’s in .gitignore).

Your template’s .env.example lists exactly the settings it uses.

Each guide covers which templates have the feature, what happens without keys, creating the account, the exact settings, how to try it on your computer and how to put it online.

Feature Service Guide
AI chat that answers from your content Claude AI chat
Contact and quote forms to your inbox Resend Contact form
Newsletter sign-ups with a welcome email Supabase, Resend Newsletter
Waitlists, beta and interest lists Supabase Waitlist
Booking calls, visits and sessions Cal.com Booking
Deposits, tickets, shop items, donations, subscriptions Stripe Payments
Site search Built in, or Algolia Search
Visitor analytics Plausible, Umami, Google Analytics Analytics
The map of how to find you OpenStreetMap Location map
Welcome, thank-you and contact emails Resend Emails

The overview of which template has what is in Features.

By default you edit content on your computer and publish by pushing to Git. To edit on the live site instead, connect Keystatic to GitHub: see Keystatic. To use Sanity, see Sanity.