Skip to main content
ToolJet is a low-code platform for building apps. Integrate Portkey to add AI-powered chat, completions, and embeddings to your ToolJet apps.

Prerequisites

Watch Demo

Quick walkthrough of ToolJet’s UI components

Setup

1

Install Portkey Plugin

Go to ToolJet Dashboard → Plugins → Marketplace → Search Portkey → Install.
2

Add as Data Source

  1. Go to Data Sources → Plugins → Add Portkey
  2. Enter:
    • Authorization: Your Portkey API Key
    • Default Provider: Your provider slug (e.g., @openai-prod)
  3. Test the connection
3

Use in Your App

  1. Go to Queries → Add Datasource → Select Portkey
  2. Choose an operation (Chat, Completion, Embedding, Prompt)
  3. Run to verify
4

Connect to UI

  1. Add Text Input and Button widgets
  2. Configure Button’s onClick to execute the Portkey query
  3. Display results in a Text Box

Supported Operations

Generate chat completions from messages.Parameters: Messages, Model, Max Tokens, Temperature, Stop Sequences, Metadata
Generate text completions from a prompt.Parameters: Prompt, Model, Max Tokens, Temperature, Stop Sequences, Metadata
Use pre-defined prompts from Portkey.Parameters: Prompt ID, Variables, Parameters, Metadata
Generate embeddings for text.Parameters: Input, Model, Metadata
For all operations, you can optionally specify a Config or override the default Provider.

Troubleshooting

Next Steps

Model Catalog

Set up providers

Configs

Add routing and caching

Portkey is now PRISMA AIRS AI Gateway. See it in action.

Contact Us
Last modified on August 3, 2026