Groq API
How to Integrate Groq API with Jan
This guide provides step-by-step instructions on integrating the Groq API with Jan, enabling users to leverage Groq's capabilities within Jan's conversational interface.
Before proceeding, ensure you have the following:
- Access to the Jan application
- Groq API credentials
Integration Steps
Step 1: Configure Groq API Key
- Obtain Groq API Keys from your Groq Console (opens in a new tab) dashboard.
- Copy your Groq API Key and the endpoint URL you want.
- Navigate to the Jan app > Settings.
- Select the Groq Inference Engine.
- Insert the API Key and the endpoint URL into their respective fields.
You can also manually edit the JSON file in ~/jan/settings/@janhq/inference-groq-extension
.
Step 2: Select Model
- Navigate to the Hub section.
- Ensure you have downloaded the Groq model you want to use.
The Groq Inference Engine is the default extension for the Jan application. All the Groq models are automatically installed when you install the Jan application.
Step 3: Start the Model
- Navigate to the Thread section.
- Under the Model section, click Remote.
- Select the Groq model you want to use.
- Start the conversation with the Groq API.
Troubleshooting
If you encounter any issues during the integration process or while using Groq with Jan, consider the following troubleshooting steps:
- Double-check your API credentials to ensure they are correct.
- Check for error messages or logs that may provide insight into the issue.
- Reach out to Groq API support for assistance if needed.