> ## Documentation Index
> Fetch the complete documentation index at: https://docs.adgentek.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> See your first Adgentek ad in 5 minutes with the Web SDK.

This quickstart uses the Web SDK, the fastest path to a live ad. For iOS, Android, React, the Publisher Widget, AdsMCP, or the REST API, see [Integrations](/publishers/integrations/web). If you have not read [Choosing your integration path](/publishers/choosing-your-integration-path), read it first: your integration path determines which demand can serve on your surface.

<Steps>
  <Step title="Get your publisher token">
    Sign in at [app.adgentek.ai](https://app.adgentek.ai) and copy your publisher token from Settings, Integration.
  </Step>

  <Step title="Add the SDK">
    Add the script tag to your app, before the closing body tag:

    ```html theme={null}
    <script src="https://sdk.adgentek.ai/v1/adgentek.js?token=YOUR_PUBLISHER_TOKEN"></script>
    ```

    Replace `YOUR_PUBLISHER_TOKEN` with your real token. Placeholder tokens do not serve ads.
  </Step>

  <Step title="Register a placement">
    Tell the SDK where ads may render and pass the conversational context:

    ```javascript theme={null}
    adgentek.placement({
      query: userMessage,      // the user's message
      response: aiResponse,    // your AI's response
      target: '#ad-slot'       // CSS selector, or omit for auto-discovery
    });
    ```
  </Step>

  <Step title="Verify">
    Open your browser DevTools, Network tab. Trigger a conversation turn with commercial intent (for example, ask about mattresses or SUVs). Confirm:

    1. A serve request fires to the Adgentek endpoint and returns an ad payload.
    2. When the ad renders, an impression pixel request fires from the page.

    The impression pixel firing from the browser is what makes the impression billable. The SDK handles this automatically. Never fire it from your backend.
  </Step>
</Steps>

## Next steps

<CardGroup cols={3}>
  <Card title="Theming" href="/publishers/concepts/theming">
    Match the ad unit to your product's look.
  </Card>

  <Card title="Publisher controls" href="/publishers/concepts/publisher-controls">
    Category blocks, brand blocklists, frequency caps, floors.
  </Card>

  <Card title="Ad formats" href="/publishers/concepts/ad-formats">
    Enable Spark and other formats for your surface.
  </Card>
</CardGroup>
