JotsuDocs
Quickstartintermediateยท15 minutes

Connect an external API

Connect a Jotsu application to an external API, fetch and display a response, and keep the required credential on the server.

What you will build

A server-side API request with a read-only result in the application.

Before you begin

Have the API base URL, authentication instructions, and one test endpoint.

1. Store the credential

In application Settings, add the credential under Environment variables and enable Secret.

2. Add the request

Ask Codex to fetch one response on the server, validate it, and display a small read-only preview. Give it the variable name, not the secret value.

3. Verify the result

Load the preview and confirm the expected data appears. Check Dev logs for the upstream status and confirm the credential is absent.

Next steps

Add pagination or synchronization with Connect an external API.