# For Publisher

### 1.  Initialize your Telegram Mini App

Before integrating the tads.me ad widget, make sure that you have initialized your application as described in the Telegram documentation: [**Initializing Mini Apps**](https://core.telegram.org/bots/webapps#initializing-mini-apps)

### 2. Register an account

Create your personal account and register your site (TMA) | [**Register Account**](https://docs.tads.me/getting-started/publishers/register-account)

### 3.  Create a widget

Choose your preferred placement method and add the widget to your account | [**Create Widget**](https://docs.tads.me/getting-started/publishers/create-widget)

### 4. Add the widget code in TMA

You can integrate the tads.me ad widget using either the [**React** ](/docs/getting-started/publishers/embed-widget/react.md)or [**native JavaScript**](https://docs.tads.me/getting-started/publishers/embed-widget/vanilla-js)

### 5. Earn money

Track your performance and earnings | [**Widget Analysis**](https://docs.tads.me/getting-started/publishers/widget-analysis)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://tads.gitbook.io/docs/getting-started/publishers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
