> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getunbound.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Goose

> Connect Goose to the LLM Gateway

You need an [LLM Gateway key](https://docs.getunbound.ai/llm-gateway/keys.md#create-a-key).

## Setup

Set the gateway in your shell profile, with a model or [alias](https://docs.getunbound.ai/llm-gateway/models.md#aliases):

```bash theme={null}
export GOOSE_PROVIDER=openai
export OPENAI_HOST=https://api.getunbound.ai
export OPENAI_API_KEY=<your-key>
export GOOSE_MODEL=claude-sonnet-4-6
```

Leave `/v1` off `OPENAI_HOST`. Goose adds it.

## Check it works

Run `goose session` and send a prompt. In **LLM Gateway → Keys**, the key's **Last Used** updates.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.