Federated Management

AI Gateway 2.0 Setup

Complete this setup in the shell you will use for the remaining lessons.

Install kongctl

Install the latest kongctl release:

curl -fsSL https://get.konghq.com/kongctl | sh

Authenticate to Konnect

Choose one of the following authentication methods.

Browser-based login

NOTE: If KONGCTL_DEFAULT_KONNECT_PAT is already set, unset it so it does not override the browser login credentials.

Run the login flow:

kongctl login

Personal access token

Alternatively, provide a Konnect personal access token:

export KONGCTL_DEFAULT_KONNECT_PAT="<personal-access-token>"

Verify

Confirm that you can reach your Konnect organization:

kongctl get organization