Adding Multiple Domains on Embedded Keys
SmartyStreets wants address validation to be easy. With that in mind, we've set up our authorization so that you can put all your host names on a single key. That way, if you use SmartyStreets on multiple sites or forms or if you private-label our services, you don't have to manage several sets of embedded keys to keep the service running. Simply follow these steps to add as many domains to your key as you need.
- Log in to your account.
- Select "API Keys" from the navigation bar.
- Create "Embedded Keys" by entering your site's domain name under "Hosts" and hitting enter. This will generate a numeric key tied to that domain. Be sure that the domain host you enter exactly matches the domain that is calling the API; for example, "smartystreets.com" is not the same as "www.smartystreets.com".
- Once the key has been generated, simply click the "Add host" button to add more domains to that key.
- That's it! If it looks like this, you're done! The two hosts will be able to use the same key.