Skip to main content

Search Knowledge Base by Keyword

This KB documentation is using Advanced Search, Links Editor and Elegant Layouts add-ons.

Print

Step 1 – Setup AI Provider and AI Key

Decide which AI provider you want to use, then follow the steps below to get the API key.

Gemini is the default AI provider because our internal testing shows it responds faster in most scenarios.

You are not locked into Gemini. You can switch to OpenAI at any time if you prefer or already use ChatGPT.

Both providers are fully supported and deliver the same features, only the AI provider and API key differ.

After choosing a provider, continue to that provider’s Step 1 to set up your API key.

A) Set Up Your Gemini API Key

Follow the steps below to create your Gemini API key and connect it to your Knowledge Base.

1. Sign in (or create an account)

Go to: https://aistudio.google.com
Sign in with your Google account. If you’re new, accept the terms to enable API access.

2. Create an API Key

  1. In the left sidebar, click API Keys.
  2. Click Create API Key (top-right corner).
  3. Enter a name for your key.
  4. Choose an existing project or create a new one.
  5. Click Create Key.
  6. Find your project, and under the Key column, click on your new key.
  7. Copy the key from the popup.

3. Add Your Gemini API Key to the Knowledge Base

  1. In WordPress, open Knowledge Base → AI Page.
  2. Select the General Settings tab.
  3. In API Configurations, paste your Gemini API key.
  4. Check the disclaimer box.
  5. Click Save.

B) Set Up Your OpenAI (ChatGPT) API Key

How to add credit

  1. Log in to your OpenAI account.
  2. Click the Settings icon (gear icon) in the top-right corner of the dashboard.
  3. In the sidebar menu, select Billing.
  4. From the Billing page, you can:
    • Add credit to your account balance
    • Enable auto-recharge
    • Manage your payment methods

1. Sign in (or sign up)

OpenAI now organizes API keys under Projects, which offer better separation, usage tracking, and billing controls.

  1. In the top-left corner of the OpenAI dashboard, click the current project name.
  2. Select Create project.
  3. Enter a short, descriptive name (e.g., Website Name or Website Name KB ).
  4. Click Create to finalize.

💡 Tip: Projects have their own usage, budgets, and keys. Creating a dedicated Project for your Knowledge Base helps keep cost and access management organized. Learn more about Projects

3. Create your API Key

  1. Click on Dashboard in the top menu.
  2. Open the API Keys page in the left sidebar menu. Or use this direct link:: https://platform.openai.com/api-keys
  3. Make sure the correct Project is selected. If not, the key will be created under your Default Project.
  4. Click + Create new secret key (top-right button).
  5. Fill in the details:
  6. Name: Something short and descriptive (e.g., WebsiteName-KB).
  7. Project: Select the Project you just created.
  8. Permissions: Leave on All for full access.
  9. Click Create secret key to confirm.

4. Copy and store it immediately

The full key appears once in a grey popup box. Click Copy and paste it into a password manager or save it on your computer. After you close the dialog you’ll never be able to view the complete key again only revoke or replace it

5. Add your key to Knowledge Base

  1. In WordPress admin, open Knowledge Base → AI Page.
  2. Select the General Settings tab.
  3. In the API Configurations. Paste your OpenAI API key.
  4. Read the disclaimer, then check the disclaimer box.
  5. Click Save.

6. Add Training data

Follow this link to continue with the AI setup: https://www.echoknowledgebase.com/documentation/ai-training-data-teach-it-your-business/


Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Need help?
Table of Contents