# Data privacy

> For the complete documentation index, see [llms.txt](/llms.txt)

> Configure PII redaction, IP collection, and Terms & Conditions for your Biel.ai assistant.

Configure how Biel.ai stores chat message text and IP addresses, and whether the widget asks users to accept your terms.

:::important
Only **Administrator** or **Maintainer** roles can manage projects. See [Manage roles](https://docs.biel.ai/administration/roles.md).
:::

## Remove personally identifiable information

Biel.ai can detect and redact names, emails, and phone numbers from chat message text before saving it. Detected values are replaced with redaction placeholders.

1. In the [Biel.ai dashboard](https://app.biel.ai), select your project.
2. Click **Settings**.
3. Under **Security & Privacy** > **Data Privacy**, enable **Remove personally identifiable information (PII)**.

    ![Remove personally identifiable information (PII) setting](./images/settings-security-data-privacy-remove-pii.jpg)

4. Click **Save** on the Data Privacy card.

Future conversations automatically redact PII.

## Disable IP address collection

Stop saving user IP addresses with chats and messages. This changes how analytics estimates unique users: chats without a saved IP each count as one user. Country information can still be derived from the request.

1. In the [Biel.ai dashboard](https://app.biel.ai), select your project.
2. Click **Settings**.
3. Under **Security & Privacy** > **Data Privacy**, enable **Disable IP address collection**.

    ![Disable IP address collection setting](./images/settings-security-data-privacy-disable-ip-collecton.jpg)

4. Click **Save** on the Data Privacy card.

## Require Terms & Conditions acceptance

Require users to accept Terms & Conditions before starting a conversation.

![Assistant widget for docs](./images/accept-terms-and-conditions.jpg)

Add these attributes to your `<biel-button>`:

```html
<biel-button
    show-terms-modal="true" terms-title="Assistant Terms & Conditions" terms-description="Please review our Terms & Conditions before proceeding." terms-checkbox-text="I have read and agree to the Terms & Conditions." project="<PROJECT_ID>">
        Ask AI
</biel-button>
```

Replace `<PROJECT_ID>` with your project ID. Update the `terms-description` link to point to your own Terms & Conditions.
