> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mindfort.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Writing Login Instructions

> Learn how to write clear, step-by-step login instructions so MindFort agents can authenticate to your target and test areas behind the login.

## Purpose

Login instructions tell MindFort agents exactly how to log into your target application using the stored credential.

Without these instructions, agents may not find the correct login path or complete the full sign-in flow, which reduces authenticated coverage.

## What to Write

Write plain, step-by-step login directions:

1. exact login URL or route
2. if login path differs from target root (example: target is `https://example.com`, login is `https://example.com/login`)
3. any required context values (example: org/workspace ID, tenant slug, environment selector)
4. exact actions to submit login
5. expected post-login page

For Magic Link credentials, explain where to request the sign-in link and which page should appear after the link is opened.

## Good Example

```text theme={null}
Target: https://example.com
Login route: https://example.com/login
Org ID: acme-security

1. Go to https://example.com/login
2. Enter Org ID: acme-security
3. Enter the stored username and password
4. Click Sign In
5. Confirm login at https://example.com/dashboard
```

## Common Mistakes

* only listing the main website URL
* omitting redirects after sign-in
* including outdated login paths
* not mentioning required intermediate clicks
