> For the complete documentation index, see [llms.txt](https://docs.lassomoderation.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lassomoderation.com/compliance/dsa-compliance/setup.md).

# 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.
