hello, how do i create an Application in Airbyte s...
# airbyte-agents-ask-ai
t
hello, how do i create an Application in Airbyte self hosted (localhost)? This is so i can create keys so i can use Airbyte API to programatically make changes. Thank you.
k
Creating an Application in Self-Hosted Airbyte (localhost) Here's how to create an Application to get API credentials for your local Airbyte instance: Step 1: Create an Application in the UI 1. Open the Airbyte UI at
<http://localhost:8000>
2. Click your username > User settings > Applications 3. Click Create an application 4. Give your application a descriptive name and click Submit 5. Click the reveal icon to expose your Client ID and Client Secret — save these securely [Configuring API Access] > Tip: If you deployed Airbyte using
abctl
, you can also retrieve your credentials directly from the command line: >
Copy code
abctl local credentials
> This returns your
client-id
and
client-secret
without needing to go through the UI. [abctl reference] Step 2: Get an Access Token Use your
client_id
and
client_secret
to request an access token:
Copy code
curl --request POST \      --url <http://localhost:8000/api/public/v1/applications/token> \      --header 'accept: application/json' \      --header 'content-type: application/json' \      --data ' {   "client_id": "<YOUR_CLIENT_ID>",   "client_secret": "<YOUR_CLIENT_SECRET>",   "grant-type": "client_credentials" } '
A successful response looks like:
Copy code
{
  "access_token": "<YOUR_ACCESS_TOKEN>",
  "token_type": "Bearer",
  "expires_in": 900
}
Access tokens expire in 15 minutes — simply request a new one when it expires. [Get an access token] Step 3: Make API Requests Use your access token as a Bearer Token in your API requests. The base URL for a locally hosted instance is:
Copy code
<http://localhost:8000/api/public/v1/>
For example, to list workspaces:
Copy code
curl --request GET \      --url <http://localhost:8000/api/public/v1/workspaces> \      --header 'Authorization: Bearer <YOUR_ACCESS_TOKEN>'
[API documentation] 👍 0 button 👎 0 button â„šī¸ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.
t
I cant really do step 1.3 because there isnt a Create Application button showing