Anychat
Anychat builds apps from a chat box. Drop your Ideal Postcodes API key into the project's secrets panel and let the AI wire up Address Finder for you.
What you'll add
UK and international address autocomplete on any address form, powered by the Address Finder widget. For UK-only postcode → address dropdowns, use Postcode Lookup instead.
1. Get an API key
- Quick test: paste
ak_testas your key. Capped at 5 lookups/day. Will break in production. - Real key: sign up at ideal-postcodes.co.uk/signup for a free trial balance.
2. Store the key in Anychat
In your Anychat project:
- Open the project's environment variables / secrets panel.
- Add
IDEAL_POSTCODES_API_KEYwith yourak_…value. - Save.
3. Starter prompt
Paste this into the Anychat chat:
Add UK and international address autocomplete to the address form using
@ideal-postcodes/address-finder.
- Install the npm package.
- Mount AddressFinder.setup() on the address line 1 input. Populate the
other address fields from the callback.
- Read the API key from the IDEAL_POSTCODES_API_KEY environment variable.
- Reference docs: https://docs.ideal-postcodes.co.uk/docs/address-finder.md
4. Lock down the key
After deploy, add your deployed domain to your key's Allowed URLs.
Need help?
- File an issue: github.com/ideal-postcodes/feedback
- Email: support@ideal-postcodes.co.uk