Account Creation and Panel Access
To get started, you will need to create a Chatbase account and access the control panel. This can be done through the Chatbase website, where you can register or log in.
Obtaining the Chatbase Secret Key
- Access to the Secret Key:
-
- After logging in, navigate to your account at Chatbase Account Settings.
- Scroll down to the section where the Secret Key is displayed.
- Click the eye icon to reveal your Secret Key. It is important to copy and store this key in a secure location as it is needed to authenticate API requests.
Creating a Chatbot and Obtaining the Chatbot ID
Creating a Chatbot:
- Go to the chatbot creation section at Create Chatbot.
- You will need to make a POST request with the chatbot name and optional source text. An example request can be found in the official documentation, where you also configure the headers with your Secret Key.
- After creation, the chatbot ID will be returned in the API response. This ID is a unique identifier for your chatbot.
Find an Existing Chatbot:
- If you already have chatbots created, navigate to My Chatbots and click on the desired chatbot.
- Select “Settings” to view or copy the Chatbot ID. You can also capture the ID directly from the URL while viewing a specific chatbot.
You can also get the ID quickly using the web page URL. Once you click on the Chatbot, the URL will contain your chat ID in the form.https://www.chatbase.co/chatbot/<Your Chatbot ID>
Conclusion
These are the basic steps to obtain your Secret Key and Chatbot ID on Chatbase, essential for integrating and managing your chatbots through the API. For more details and implementation guides, see the Chatbase documentation.