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

# Installation & configuration

> Embed the web snippet and configure its parameters.

## Basic installation

Copy the snippet from your [Web Snippets dashboard](https://app.alttextlab.com/web-snippets) and paste it before `</head>`. If you haven't created a snippet yet, see [Get started](/web-snippet/get-started).

```html theme={null}
<script src="https://cdn.alttextlab.com/embed.js"
  data-site-id="your_site_id"
  data-public-key="your_public_key"
  data-lang="en"
  data-style="neutral"
  defer
></script>
```

## Google Tag Manager

If you don't have direct access to the HTML source, deploy via GTM.

**Option 1 — Custom HTML tag**

1. In GTM, create a new **Custom HTML** tag
2. Paste the `<script>` tag as the tag content
3. Set the trigger to **All Pages**
4. Publish the container

**Option 2 — GTM Template Gallery**

Use the official AltTextLab template from the [GTM Template Gallery](https://tagmanager.google.com/gallery/#/owners/alttextlab/templates/alttextlab-gtm-template). The template includes all parameters as configurable fields — no manual script editing required.

## Parameters

| Parameter               | Required | Default | Description                                                                                                              |
| ----------------------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------ |
| `data-site-id`          | Yes      | —       | Auto-generated site ID. Do not change.                                                                                   |
| `data-public-key`       | Yes      | —       | Auto-generated public key. Do not change.                                                                                |
| `data-lang`             | Yes      | —       | Language code for generated alt text (e.g. `en`, `de`). See [supported languages](/features/supported-languages).        |
| `data-style`            | Yes      | —       | Writing style: `neutral`, `descriptive`, `matter-of-fact`, or `minimal`. See [Writing styles](/features/writing-styles). |
| `data-min-natural-size` | No       | `0`     | Minimum image dimension in pixels. Images smaller than this value are skipped. Default `0` processes all images.         |
| `data-delay`            | No       | `0`     | Delay in milliseconds before the snippet starts scanning.                                                                |
