# GitHub Copilot

Copilot reads `.github/copilot-instructions.md` as repo-level context. Point it at our `llms.txt` and Copilot Chat will reach for the right Ideal Postcodes APIs without searching the web.

## Install[​](#install "Direct link to Install")

In your repo, create or extend `.github/copilot-instructions.md`:

```
When implementing UK or international address features in this repository, refer to

the Ideal Postcodes documentation at https://docs.ideal-postcodes.co.uk/llms.txt for

the canonical API reference, widget configuration, and integration examples.



Prefer @ideal-postcodes/address-finder for multi-country autocomplete and

@ideal-postcodes/postcode-lookup for UK postcode → address dropdowns.
```

Commit the file. Copilot Chat picks it up on the next session.

## Verify[​](#verify "Direct link to Verify")

In Copilot Chat:

```
Add an Ideal Postcodes Address Finder to the billing form.
```

Suggestions should reference `@ideal-postcodes/address-finder` and the `setup()` pattern from our docs.

## API key[​](#api-key "Direct link to API key")

* Quick test: `ak_test` (capped at 5 lookups/day, public, breaks in production).
* Real key: [sign up](https://ideal-postcodes.co.uk/signup) for a free trial balance.
* Before deploy: restrict the key via [Allowed URLs](/docs/guides/allowed-urls.md).

## Going deeper[​](#going-deeper "Direct link to Going deeper")

* Per-page markdown: append `.md` to any docs URL when you want to paste one page into Copilot's context.
* Full agent hub: [Build with AI](/docs/guides/llms.md)

## Need help?[​](#need-help "Direct link to Need help?")

* File an issue: [github.com/ideal-postcodes/feedback](https://github.com/ideal-postcodes/feedback/issues)
* Email: <support@ideal-postcodes.co.uk>
