# Setup

#### 2.1 Credentials

Before you can send reports, you need credentials from the DSA Transparency Database.

1. Request credentials from the DSA team. See [onboarding documentation](https://transparency.dsa.ec.europa.eu/page/onboarding-documentation) for more information.
2. Go to [Compliance Settings](https://app.lassomoderation.com/settings/compliance).
3. Add new credentials:
   * **Environment**: `sandbox` or `production`. Use the sandbox environment for testing to validate reports before switching to production.
   * **API tokens**: The credentials you obtained in step 1.
   * **Terms of Service**: A URL pointing to your terms and conditions.
   * **Territorial scope**: By default, all countries in the European Economic Area (EEA) are included. You can limit this to specific countries if needed.
   * **Categories**: If you manage multiple brands under one workspace, you can configure separate credentials per category. Otherwise, select **Use credentials for all categories**.

#### 2.2 Reports per policy

Once credentials are configured, you can enable automatic reporting per policy category.

1. Go to [Policies](https://app.lassomoderation.com/policies)
2. Select the **policy category** you want to send reports for.
3. Choose the policy type: `user` or `content`. Reporting requires a policy to be explicitly marked as one of these types.
4. Enable **DSA reporting for this policy**.
5. Fill in the required fields. Details about these fields can be found in the [DSA API documentation](https://transparency.dsa.ec.europa.eu/page/api-documentation#statement-attributes). For inspiration, check out example reports at the [Transparency Database](https://transparency.dsa.ec.europa.eu/statement).
6. Done! Any time a user or piece of content is removed/banned under this policy, a report will automatically be created.
7. Go to the [Compliance Overview](https://app.lassomoderation.com/compliance) to view all pending/submitted reports.


---

# 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://docs.lassomoderation.com/dsa-compliance/setup.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.
