AlmanacGuide

AI features (bring your own key)

Almanac's AI can draft replies for you to check and send, and can answer customers by itself when you're busy, handing over to a person when it isn't sure. It learns your business from a short description and a knowledge base of your FAQs, prices and policies.

It works on your own API key from OpenAI or Anthropic. This is called bring your own key (BYOK):

1. Get an API key (pick one provider)#

OpenAI#

  1. Sign in at platform.openai.com.
  2. Settings → Billing: add a card and buy a small amount of credit (e.g. $5). Keys don't work without credit.
  3. Settings → Limits: set a monthly budget so you're never surprised.
  4. API keys → Create new secret key. Name it almanac, copy it (starts with sk-). It's shown only once.

Anthropic (Claude)#

  1. Sign in at console.anthropic.com.
  2. Billing: add credit (e.g. $5).
  3. Limits: set a monthly spend limit.
  4. API keys → Create key. Name it almanac, copy it (starts with sk-ant-). It's shown only once.

Either works well. If you're unsure, start with whichever you already have an account with.

2. Add it to Almanac#

  1. Open AI Agents → Setup in the left-hand menu. (Admins and owners only.)
  2. Provider: OpenAI or Anthropic. Model: leave the suggested one; it's fast and cheap, which is what chat replies need.
  3. API key: paste it and click Test key. You should see Key works. Almanac stores it encrypted and never shows it again.
  4. Business context: a few lines about your business and how to talk. The better this is, the better the replies. For example:

    We are Sharma Textiles, a saree shop in Jaipur, open 10am to 8pm, Monday to Saturday. Be warm and brief. Reply in Hindi if the customer writes in Hindi. Never promise delivery dates or discounts; hand over to a person for those. Payment is by UPI to sharmatex@upi.

  5. Turn on Enable AI assistant and Save.

3. Teach it your business (knowledge base)#

On the same page, Knowledge base → Add document. Add one document per topic: Price list, Delivery and returns, Store timings and location, Sizes and care. Plain text is fine; paste from a WhatsApp note or a Google Doc.

The assistant looks up the relevant documents before every reply, so it answers from your facts instead of guessing.

Optional, smarter search: add an Embeddings key (an OpenAI key; it can be the same one). The assistant then finds answers by meaning, so "how much for the blue one" matches your Price list even without the word "price". Click Reindex after adding it.

4. Try it before customers do#

Open AI Agents → Playground, type questions the way customers ask them, and read the answers. Adjust the business context or the knowledge base until you're happy.

5. Use it#

AI Agents → Usage shows how many requests and tokens you've used, so you can match it against the provider's bill.

Good habits#

Troubleshooting#

You see Fix
"AI isn't set up yet" Add a key in AI Agents → Setup and enable the assistant
"The provider rejected the request" Wrong key, or no credit left. Check billing with the provider
"Could not reach the provider" Your server can't reach the internet, or the provider is down. Try again shortly
Replies are generic Add more to the business context and the knowledge base
Auto-reply stays quiet A person is assigned to the chat, a flow is handling it, or the reply cap was reached