Use Activepieces with Shannon
Connect Shannon as an Other (OpenAI Compatible) key in Activepieces' AI Center, type the model ids, and AI steps and agents in your flows run on Shannon models.
- Tested Nov 7, 2026
- OpenAI Chat Completions
- About 5 min
About Activepieces
Activepieces is an open-source automation platform, used in its cloud or self-hosted, with hundreds of app connectors, AI steps and agents. Platform admins connect model providers once in the AI Center and every project they allow can use them. With Shannon connected, steps such as Ask AI, Summarize Text and Run Agent run on Shannon models.
What you need
- A Shannon API key
- Keys & usage
- Base URL
-
https://api.shannon-ai.com/v1Endpoint:/v1/chat/completions - Every snippet below follows your choice.
Set it up
-
Self-hosting: start Activepieces with its two secrets
On Activepieces Cloud skip this step. The single-container setup needs
AP_JWT_SECRETandAP_ENCRYPTION_KEY: without them version 0.92 exits at start with "Environment variable AP_WORKER_TOKEN is not set". Openhttp://localhost:8080and sign up; the first account is the platform admin.Dockerdocker run -d --name activepieces -p 127.0.0.1:8080:80 \ -v ~/.activepieces:/root/.activepieces \ -e AP_DB_TYPE=PGLITE \ -e AP_REDIS_TYPE=MEMORY \ -e AP_FRONTEND_URL="http://localhost:8080" \ -e AP_JWT_SECRET=$(openssl rand -hex 32) \ -e AP_ENCRYPTION_KEY=$(openssl rand -hex 16) \ activepieces/activepieces:latest -
Connect Shannon in the AI Center
Go to Platform Admin → AI Center, press Add key and pick Other (OpenAI Compatible). Activepieces sends the key exactly as typed under the header you name, so use
x-api-keywith the plain key. Keep API style on Chat completions, then press Connect.Other (OpenAI Compatible)Name: Shannon Base URL: https://api.shannon-ai.com/v1 API key: YOUR_API_KEY API key header: x-api-key API style: Chat completions
A real setup on Activepieces 0.92.3: the provider dialog filled in for Shannon. -
Add an Ask AI step and test it
In a flow press +, open AI & Agents → AI → Ask AI, choose OpenAI Compatible as the provider, pick the Shannon id and write the prompt. Test Step runs it once and shows the reply. Run Agent and the other AI actions take the same provider.
A real run on Activepieces 0.92.3: Ask AI tested successfully in 12 seconds.
Check that it works
Send: Name three colours a cat can be, in one short sentence.
You should see: Tested Successfully and, under Output, a sentence such as "A cat can be black, orange, or white."
Models that fit Activepieces
Every id below meets what Activepieces needs. The first one is the default in the snippets.
| Model id | Context window | Max output | Image input |
|---|---|---|---|
Kimi-K3-uncensored-NVFP4 | 1,022,976 | 262,144 | Yes |
Kimi-K3-uncensored-3BIT-REAP | 225,280 | 225,280 | Yes |
shannon-3 | 196,608 | 65,536 | Yes |
shannon-coder-1 | 131,072 | 65,536 | No |
Good to know
- Pressing Connect checks only that the address and header are well formed; Activepieces does not call Shannon then. A wrong key first shows up when a step runs.
- To use
Authorizationas the header instead, type the key asBearer sk-…: Activepieces adds nothing in front of it. - On the self-hosted Community Edition we tested, the AI Center needed no paid plan. The Activepieces docs say your own keys need a plan that includes AI providers, so on Cloud check your plan.
- Keep Shannon models as Text: Shannon has no image or embeddings endpoints.
- Run Agent calls tools in a loop, so one agent step can make several requests; Ask AI makes one.
Tips
- Press Test Step (Ctrl + G) in the step panel to run one AI step on its own before you publish the flow; the reply shows under Output.
- In a step the provider is listed as OpenAI Compatible, not under the name you gave the key; the model menu then shows the ids you typed.
- Use Project access on the key's page to choose which projects may use Shannon; it starts at All.
- Ask AI caps answers at 2000 tokens by default; raise Max Tokens in the step for long drafts.
- Rotate the key with Credentials → Replace; the model list and project access stay as they are.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| The container exits with "Environment variable AP_WORKER_TOKEN is not set" | Activepieces 0.92 builds the worker token from AP_JWT_SECRET, which the short Docker command leaves out. | Set AP_JWT_SECRET (openssl rand -hex 32) and AP_ENCRYPTION_KEY (openssl rand -hex 16) and start again. |
| The key shows Active, but the step fails with 401 | The check on Connect does not contact Shannon, so a wrong key or header is saved anyway. | Use Credentials → Replace: header x-api-key with the plain key, or Authorization with Bearer sk-…. |
| "… is not a valid base URL" | The Base URL lacks https://. | Enter https://api.shannon-ai.com/v1. |
| The Shannon id is missing from the step's model menu | Models must be typed on the key's page; nothing is read from Shannon. | Add the id under Models as Text, press Save, then press the refresh icon next to Model in the step. |
401 Unauthorized | The key is missing, mistyped or rotated. | Copy the key again from Keys & usage; it starts with sk-. |
context_length_exceeded / "prompt is too long" | The conversation is longer than the model's window. | Start a new chat, let the tool compact it, or pick a model with a larger window. |
insufficient_quota | Your balance cannot pay for the request. | Top up or change plan; the request is not retried by itself. |
Questions
Does Activepieces work with Shannon?
Yes, as an Other (OpenAI Compatible) key in the AI Center with base URL https://api.shannon-ai.com/v1.
Can Activepieces use the Responses API?
Yes. The key's API style can be Chat completions or Responses, and Shannon serves both. We tested Chat completions.
Do agents work?
Run Agent needs a model that calls tools; Shannon models do. It uses the same provider and model menu as Ask AI.