Files
2026-07-12 10:17:17 -04:00

42 lines
1.5 KiB
Markdown

# Getting a MAM Session Cookie for Mousehole
These are the exact steps to create a MAM API session and get the cookie for Mousehole.
## Step 1: Go to MAM Security Settings
Make sure you are logged into MAM on your browser.
Navigate to: https://www.myanonamouse.net/preferences/index.php?view=security
## Step 2: Create a New Session
In the "Create session" section at the bottom of the page, enter:
| Field | Value | Why |
|---|---|---|
| IP | Use the IP shown on Mousehole's own page (it knows its own IP since it shares the VPN network) | Must be the VPN IP, not your browser IP |
| IP vs ASN locked session | **ASN** | Allows the PIA VPN IP to change without breaking the session |
| Allow Session to set Dynamic Seedbox | **Yes** | This is what lets Mousehole register the VPN IP via the API |
| Session Label | `mousehole` | Any text, just for identification |
Then click **Submit Changes!**
## Step 3: Copy the Cookie
MAM will show you a cookie value after creating the session.
Copy it to your clipboard — this is a one-time display.
## Step 4: Paste into Mousehole
1. Open Mousehole at http://192.168.50.98:5010 (or your host's LAN IP)
2. Log in with the MOUSEHOLE_AUTH_PASSWORD
3. Paste the cookie into the text box
4. Click **Set**
You should see an OK status after that.
## Important
- Do NOT share this cookie with any other service (Prowlarr, Jackett, etc.)
- MAM rotates the cookie value on each API call, so any other client sharing this cookie will break
- If the cookie stops working (failed API calls), create a new session on MAM and update Mousehole