From signup to live ads in under 10 minutes. This guide walks through adding your first site, installing the embed script, creating a placement, and approving your first ad template.
You need:
<script> tag to your site's <head>Local development
localhost too. AI template generation requires the DOM snapshot sent by a real visitor, so you can test the full flow in a local browser tab.Go to Dashboard → Sites → Add site. Enter your website's base URL (e.g. https://example.com). Give it a memorable name and click Create site.
Inlay creates a unique siteScriptId for your site. This identifier is embedded in your script tag and is used to route requests back to your account.
On the site detail page, copy the two-line embed tag and paste it into every page of your site — ideally just before the closing </head>:
<!-- Inlay — abc12345 -->
<script async src="https://useinlay.com/api/script/abc12345def67890"></script>The script is served from Inlay's CDN with a one-hour cache. When you deploy updates to your script logic, publishers automatically receive the updated version without touching their embed tag.
async attribute is required. It prevents the script from blocking your page render.Go to Sites → [your site] → Add placement. Fill in:
https://example.com/blog/*1.50)You can create multiple placements per site — for example, one for blog posts and one for product pages, each with different URL patterns and floor prices.
Visit a page on your site that matches the placement's URL patterns in a browser. The embed script will:
The page shows nothing yet — ads are held back until you approve the template. Return to your dashboard and you'll see the placement status change to Pending approval.
In the Dashboard, click the placement to open the preview panel. You'll see the generated ad component rendered with sample creative. Two options:
You can also click Open on your site → to test the ad injected into your actual live page, complete with a floating approval panel so you can approve or regenerate without leaving the tab.
After approval