# Obtain a Plex token

## How to Get Your Plex Token

Some Wizarr features require your Plex authentication token. Here’s the simplest way to find it.

### 1. Open Plex in Your Browser

* Go to [https://app.plex.tv](https://app.plex.tv/) and log in.
* Open your **Plex Web App**.

### 2. Right-Click Any Item

* Right-click on a movie, show, or library item.
* Click **View Info**
* Select **View XML**

### 3. Copy the Token

* The XML page will open in a new tab.
* Look at the **URL in the address bar**.
* At the very end you’ll see `X-Plex-Token=...`

Example:

```
https://<server>:32400/library/metadata/12345?X-Plex-Token=abcd1234efgh5678
```

The part after `X-Plex-Token=` is your **Plex token**.

### 4. Keep It Safe

* Do **not** share this token publicly — it grants access to your Plex server.
* If it’s ever compromised, you can revoke it by signing out of all devices in your [Plex account settings](https://plex.tv/account).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wizarr.dev/plex/obtain-a-plex-token.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
