Use a custom domain
To add a custom domain, do the following:
- Go to the Stainless dashboard
- Navigate to your project
- Go to the API Docs tab
- Press the Add custom domain button
- Enter the domain name you want to use, which is usually a subdomain of your main domain (e.g.,
docs.example.com) and press Save - Add the DNS records shown on the page (you’ll usually use your DNS provider’s control panel to do this)
After you add the DNS records, it will take up to 48 hours for those records to propagate across the internet. Check back periodically until you see that your domain is verified.
Once your domain’s DNS records have been verified, your docs site will be available at your custom domain.