Skip to content

Plex Auth Token

Here is a way of obtaining a Plex Access Token for your Plex account.

Saltbox Role

You will need your Plex credentials filled in ~/saltbox/accounts.yml. If you already do, skip steps 2-4.

  1. Go to the Saltbox folder:

    cd ~/saltbox/
    
  2. Open the file for editing:

    nano accounts.yml
    
  3. Fill in your Plex credentials:

    plex:
      user:
      pass:
    
  4. Save and exit: Ctrl + X Y Enter.

  5. Run the following command:

    sb install plex-auth-token
    
  6. You will be shown your Plex Access Token in the log:

    TASK [plex_auth_token : Display Plex Auth Token] 
    ***********************************************************************************
    Tuesday 29 January 2019  21:08:33 +0100 (0:00:00.104)       0:00:13.905 *******
    ok: [localhost] => {
        "msg": "Your Plex Auth Token is: XXXXXXXXXXXXXXXX"
    }