Skip to main content
Groq logo

Groq

Overview

Groq AI is designed to provide developers with access to cutting-edge AI models optimized for high-performance inference and efficient handling of complex data tasks. Use Groq to build a range of applications, from real-time data processing to advanced machine learning tasks, utilizing the unique architecture of Groq's hardware to achieve superior performance.

Setting up Groq

Create an access token

To get started you'll need an API key. Create an API apiKey:

  1. Log in to Groq
  2. Create an API key
  3. Copy the API key to configure your integartion's connection

Add integration

Once you have an access token, you're ready to set up your Superblocks integration.

  1. In the web app, navigate to the Integrations page
  2. Click on the Groq tile
  3. Name the integration
  4. Paste your credentials into the relevant fields
  5. Optionally, add more configurations to set credentials for different environments
  6. Click Create
success

Groq connected Now you can use Groq in any Application, Workflow, or Scheduled Job.

Use Groq in APIs

Once your Groq integration is created, you can start calling Groq actions in Superblocks APIs.

Groq actions are REST requests. To learn more about REST requests in Superblocks, see the Building REST requests guide.

Certain Groq actions support streaming. Learn more about building APIs in Superblocks that

stream data from REST APIs

.

Supported actions

Create Chat Completion

Creates a model response for the given chat conversation.

Generic HTTP Request

Every SaaS integration in Superblocks comes with a built in Generic HTTP Request Action. This is a powerful action you can use to call Groq API endpoints not in the Superblocks supported actions.

To use this action simply add the method, path, required query parameters, and body for the desired endpoint.

info

Learn more about REST requests in Superblocks in our Building REST requests guide.

Generic HTTP Requests use the authentication set up and base URL you've configured for your integration, making it an easy for your team to extend Superblocks Integrations to meet their needs.