> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.tester.army/auth/llms.txt.
> For full documentation content, see https://docs.tester.army/auth/llms-full.txt.

# HTTP Basic Auth

If your staging or preview site is behind HTTP Basic Authentication, save credentials in TesterArmy so the AI agent can access it during test runs.

![HTTP Basic Auth browser prompt](https://files.buildwithfern.com/testerarmy.docs.buildwithfern.com/9c33173e8bd9327e33d89e187c914e4d94c3ffa310e2a05842b62dfe8e8805ba/docs/assets/docs/basic-auth.png)

## Setup

1. Go to **Project Settings → Integrations → Site Protection**.
2. Click **Set up** on the HTTP Basic Auth card.
3. Enter the **username** and **password**.
4. Click **Save**.

Credentials are stored encrypted and sent automatically with every test run for that project.