Skip to content

How to Set Up Bitwarden for PWTray

You only do this once. After setup, relaunches only require one Bitwarden master-password unlock.

Prerequisites

PWTray does not bundle or install bw. It uses your existing Bitwarden CLI installation.

Step-by-step

  1. Open PWTray.
  2. Go to vault.bitwarden.com and sign in to your Bitwarden vault.
  3. In the left sidebar, go to Settings.
  4. Expand settings and click Security.
  5. Open the Keys tab.
  6. Copy both values: client_id and client_secret.
  7. In PWTray first launch, paste client_id and client_secret when prompted.
  8. If prompted, enter your Bitwarden master password to unlock your vault.
  9. On future app relaunches, you only need to unlock once with your master password.
Bitwarden Vault UI showing Settings, Security, and Keys tab where client_id and client_secret are available.

Bitwarden path: Settings → Security → Keys (copy client_id and client_secret).

PWTray first-launch setup view where API key fields (client_id and client_secret) will be shown.

Preview of PWTray first-launch setup screen. Please add your vault client_id and client_secrets here.

Security and trust model

Your Bitwarden credentials are handled locally. PWTray does not store your client_id or client_secret. Bitwarden CLI stores required secrets encrypted on your machine.

Never share your API key values publicly.

Need more context? Visit the FAQ.