Flikk
Integrations

Connecting

Connect an integration with an API key or OAuth, then reference it by name in your nodes.

To use an integration, you must connect with it. This page outlines the common ways to do so.

You connect once, on the Integrations page. After that, the integration's actions are available to every flow in your workspace. How you connect depends on the integration: some take an API key, others use OAuth.

API key

Generate a key in the provider's dashboard and store it in Flikk under the name the integration asks for, like resend_key. The CLI prompts for each field the integration declares, so the key never lands in your shell history.

curl -X POST https://api.flikk.dev/api/integrations/credentials \
  -H "Authorization: Bearer flk_your_api_key" \
  -H "x-org-slug: your-org" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "resend_key",
    "value": { "apiKey": "re_..." }
  }'
flikk integrations credentials set resend_key -o your-org

The response is { "stored": true }. Storing a second credential under the same name answers 409. To connect a second account of the same integration, give it a slug, and add a label for the name people see in the app. In the app, the Integrations page has a form that does the same thing.

OAuth

Some integrations connect through the provider instead of a key. On the Integrations page, choose Connect. Flikk sends you to the provider, you approve, and you land back connected. No key to generate or paste.

OAuth runs in the browser, so connect these from the app. There is no API equivalent yet.

Using a credential

A node names the credentials it needs in config.auth, by the name you registered:

{
  "slug": "welcome",
  "type": "http_request",
  "spec": { "method": "POST", "url": "https://api.resend.com/emails" },
  "config": { "auth": ["resend_key"] }
}

Integration nodes (integration:<slug>/<action>) set config.auth for you. You declare it yourself on http_request and generate nodes.

Replacing a credential

Delete the credential, then store the new value under the same name, and nodes that reference that name use the new value. Flows that use the credential fail in the time between. To delete a credential other than the default one, pass its slug.

curl -X DELETE https://api.flikk.dev/api/integrations/credentials/resend_key \
  -H "Authorization: Bearer flk_your_api_key" \
  -H "x-org-slug: your-org"
flikk integrations credentials delete resend_key -o your-org

For OAuth, reconnect from the Integrations page.

On this page