Flow Library

This guide will cover utilizing Descope's flow library to explore flow templates for your application. These flow templates can be used as a baseline when building your flows. The flow library is an excellent tool for exploring use cases and gathering ideas for improving your authentication flow to add more auth methods, security features, etc.

To view Descope's flow library, navigate to the flows section of the Descope console and click Start from template.

Navigating to Descope's flow library

Once you've opened the Descope flow library, you will see an overview like the image below. You can navigate the methods along the left-hand navigation or even search for specific use cases.

An overview view of Descope's flow library

Preview a Template

You can preview a template from the flow library by hovering it and clicking the Preview option.

How to preview a template within Descope's flow library

Once in the template's preview mode, you can zoom in and navigate the flow to see the screens, actions, conditions, etc. If you want to work with this flow further and test it out, you can click the Use Template button at the bottom right as well.

Previewing a template within Descope's flow library

Using a Template

You can use a template from the flow library by hovering it and clicking the Use Template option, or if in the preview mode, you can also click the Use Template button at the bottom right as well.

How to use a template within Descope's flow library

Customizing a Template

Once you have selected a template, you can set the flow Name, ID, and Description. Then, select Create` to add the flow to your project.

Adding a flow template from Descope's flow library to your project

Now that the flow template has been added to your project as a flow, you can run it within the flow runner to test its functionality and further customize or add more flow screens, actions, and conditions to meet your use case.

Viewing a flow created from a Descope's flow library library in the flow runner

Was this helpful?

On this page