# User JWT Generator

You can use the JWT generator on this page to generate a User Token JWT without needing to set up a server client. You can use this token for prototyping and debugging; usually by hardcoding this into your application or passing it as an environment value at initialization.

You will need the following values to generate a token:

- `User ID` : A unique string to identify a user.

- `API Secret` : You can find this value in the [Dashboard](https://getstream.io/dashboard/).

To generate a token, provide a `User ID` and your `API Secret` , to the following generator:

<token-generator></token-generator>

For more information on how JWT works, please visit <https://jwt.io>.

---

This page was last updated at 2025-08-15T14:15:00.650Z.

For the most recent version of this documentation, visit [https://getstream.io/chat/docs/php/token_generator/](https://getstream.io/chat/docs/php/token_generator/).