> This page is for Docs.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://zuora.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://zuora.ferndocs.com/_mcp/server.

# User state maps

> Learn how to access and utilize the user state map to manage states and transitions for anonymous and registered users in Zephr.

Learn how to access and utilize the user state map to manage states and transitions for anonymous and registered users in Zephr.

1. Select
   **Journey**
   from the main menu.
2. Select
   **User State Map**
   from the menu options.
   The **User State Map** screen displays, as illustrated below:
   ![User State Map](/_fern-img/d00b75adc6f23fc80b1194d2462294a0bd6954740be20fd8aea78e2f514c9a03.webp)
   This contains states for anonymous and registered users.
   In Zephr, we call end users without an authenticated session an anonymous user. If an end user is logged in, directly through Zephr or using a shared JWT session cookie, they are known as registered users. If the registered user logs out, they are once again recognized as an anonymous user.
   The dashed line down the center indicates the point at which the end users authenticates and transitions between the states.
   The states are connected by a solid line, which represent the transitions. The two-way arrow in the example above shows that the transition is bi-directional; that is, the user can move from anonymous to registered and back to anonymous. Each line displays a number at either end; this number represents the order in which the transitions were added. The user state machine bases the order in which it examines the states on these numbers, examining each transition in ascending order.

You can do the following:

* Add states to the user state map, as described in the [Add a User State](https://docs.zuora.com/en/zephr/manage-user-journeys/user-state-maps/add-user-states)
  topic.
* Define the transitions, as described in the [State Transitions](https://docs.zuora.com/en/zephr/manage-user-journeys/user-state-maps/state-transitions)
  topic.
* View the details of a state or transition, as described in the [View the Details](https://docs.zuora.com/en/zephr/manage-user-journeys/user-state-maps/view-state-details) topic.
* Edit a state or transition, as described in the [Edit a State or Transition](https://docs.zuora.com/en/zephr/manage-user-journeys/user-state-maps/edit-a-state-or-transition)
  topic.

For an example of building a user state map and creating a feature rule that uses these states in deciding the user journey, see the [Example User State Map Use](https://docs.zuora.com/en/zephr/manage-user-journeys/build-rules-with-user-state-maps)topic.