Skip to main content

Anychat

Anychat builds apps from a chat box. Drop your AddressZen API key into the project's secrets panel and let the AI wire up Address Lookup for you.

What you'll add

International address autocomplete on any address form, powered by the Address Lookup widget.

1. Get an API key

  • Quick test: paste ak_test as your key. Capped at 5 lookups/day. Will break in production.
  • Real key: sign up at addresszen.com/signup for a free trial balance.

2. Store the key in Anychat

In your Anychat project:

  1. Open the project's environment variables / secrets panel.
  2. Add ADDRESSZEN_API_KEY with your ak_… value.
  3. Save.

3. Starter prompt

Paste this into the Anychat chat:

Add international address autocomplete to the address form using
@addresszen/address-lookup.

- Install the npm package.
- Mount AddressLookup.setup() on the address line 1 input. Populate the
other address fields from the callback.
- Read the API key from the ADDRESSZEN_API_KEY environment variable.
- Reference docs: https://docs.addresszen.com/docs/address-lookup.md

4. Lock down the key

After deploy, add your deployed domain to your key's Allowed URLs.

Need help?