> For the complete documentation index, see [llms.txt](https://docs.loadmill.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.loadmill.com/collaboration/shared-flows.md).

# Shared Flows

The **Shared Flows** feature allows users to re-use test flows in different Test Suites and Test Plans.

The common use case for Shared Flows is when you have several login test flows. For example, the email/password login that should be used in some Test Suites and the login via a social media platform that should be used in others. To configure this in Loadmill:

* Navigate to **Shared Flows.**

![](/files/oeAhzo3yBy2kXTYQlQFe)

* Click on the "+ NEW SHARED FLOW" button if you would like to create a login flow from scratch OR "IMPORT SHARED FLOW" in case you already have it in JSON format.
* We recommend using the "DRY RUN" option first to test your flow and then Publish it.
* Now you can go to the Test Suite where you would like to use it => the Login tab => click CHANGE LOGIN FLOW SOURCE and select your shared flow.

![](/files/2pSv7CFvsfSS6040TgC6)

Thus, the shared flow will run before every test flow where the Login checkbox is checked.

Then, you can always track which Test Suites using your Shared Flows.

![](/files/g7lxUf707k61265WE0Vs)

The COLLABORATORS tab allows to manage access to the shared flow so that only specific team members will be able to edit it.

![](/files/KxHNjXkG1GMcloQO9SMD)

By the way, you can also use shared flows to define [Before & After](https://docs.loadmill.com/api-testing/test-suite-editor/before-and-after-hooks) hooks and [Setup Flow](https://docs.loadmill.com/api-testing/test-plan#test-plan-navigation-panel).
