Connecting a service
The new connection form step by step: name, credentials and test.
Creating a connection
- Open Connectors in the sidebar and find the service.
- On the connector page, click Connect.
- In Details, check the Display name (by default the service name and your first name). The name is only used to recognise the connection in Bloklo.
- In Configure connection, paste the credentials. The fields depend on the service; each service is described on its own page in this documentation.
- Click Connect. Bloklo saves the credentials encrypted and immediately sends a test request to the service.
Test result
| Message | Meaning |
|---|---|
| “Connection created and checked (the API responds).” | The credentials work. |
| “Connection saved, but the provider rejected the key (HTTP …)” | The service did not accept the credentials. Correct them on the connection page (see below). |
| “Connection saved. This connector has no automatic test…” | Every call to the service is paid, so no test is sent. The best check is in the project chat. |
| “Connection saved, but the API test returned HTTP …” | The connection is saved, but the service reported a problem. The HTTP code helps find the cause (see below). |
| “Could not save the credentials: …” | The credentials were not saved, for example the base URL is invalid. |
Field types
| Button or option | What it does |
|---|---|
| API key | A key or token from your account in the service. Most connectors need only this field. |
| Login or identifier and Password or token | Services that use a login and password or an account ID and token (for example Twilio, Mailgun, WordPress, ClickHouse). |
| API base URL | The address of your own instance of the service, starting with https:// (for example n8n, Supabase, Metabase). It must be publicly reachable on the internet. |
| Account region | The region where the account was created at the provider (Mailgun: USA or European Union; PostHog: European Union or USA). |
| Payment fields | Stripe: webhook secret (required); Przelewy24: merchant ID, POS ID, CRC key, API key and test environment. |
Attaching to a project
A connection works in a project once it is attached. There are three ways:
- On the connection page, pick the project in Attach to a project….
- In the editor, open Settings → Connectors and pick the connection in Attach an existing connection….
- In the project chat, describe what the app should do, for example “after the form is sent, post a message to Slack”. The agent shows a card with existing connections and a Connect new button.
A connection created from the editor (through Settings → Connectors or a card in the chat) is attached to that project right away.
When the test fails
“Invalid key” (HTTP 401)
The service did not recognise the credentials: the key is wrong, expired, revoked or was copied with a space. Generate a new key and enter it on the connection page (Change API key, or Change credentials for login-and-password services and Przelewy24).
“Invalid key” (HTTP 403)
The key is rejected, or it works but lacks the needed permissions, or the service only accepts requests from selected IP addresses. Add the missing permissions (scopes) in the key settings at the provider, or add the Bloklo gateway IP address to the allowlist (the address is in Settings → Privacy & security).
HTTP 404 or 405
For most services the test sends a read request that requires a valid key, for example the account details. Services without such a request get a simple query to the main API address and may answer 404 or 405 even when the key is correct. In that case the best check is to ask the agent in the chat to read some data. For services with your own address, check the API base URL.
HTTP 429
The provider's request limit or the limit of 1,000 requests per minute per connection was exceeded. Wait a moment.
No response
The service did not respond, for example your own instance address is not reachable from the internet or does not use https. Addresses on private networks are not supported.
Include the test result and any error code in a problem report: the Bloklo team can then see the service's response.
Something unclear or out of date? Contact us