---
title: Creating an authentication flow
description: Create a flow to authenticate a user and optionally reset their password.
component: davinci
page_id: davinci:use_cases:davinci_use_cases_creating_an_authentication_flow
canonical_url: http://docs.pingidentity.com/davinci/use_cases/davinci_use_cases_creating_an_authentication_flow.html
revdate: February 2, 2023
section_ids:
  copying-the-flow-template: Copying the flow template
  steps: Steps
  creating-the-flow: Creating the flow
  steps-2: Steps
---

# Creating an authentication flow

Create a flow to authenticate a user and optionally reset their password.

## Copying the flow template

Copy the **DaVinci Flow - PingOne Sign On and Password Reset** template.

### Steps

1. Go to the [Ping Identity Marketplace](https://marketplace.pingone.com/browse?contentType=davinciFlows).

2. Find and open the **DaVinci Flow - PingOne Sign On and Password Reset** flow.

3. Click **Download Integration**.

4. Save the flow JSON.

## Creating the flow

Create a new flow using the **PingOne - Sign On and Password Reset** template.

### Steps

1. Sign on to your DaVinci environment.

2. Click the **Flows** tab.

3. Click **Add Flow**.

4. Click **Import From JSON** and select the saved template.

   ![A screen capture of the creation options displayed when creating a new flow. The Import From JSON option is highlighted.](_images/aod1646418421785.png)

5. (Optional) Update the name and description of the flow.

6. Click **Import**.

7. Click the **PingOne User Lookup** connector.

8. Click the **Edit Connector** icon.

   ![A screen capture of the edit connector icon.](../_images/rbh1646418951869.png)

9. In the **Environment ID** field, enter your PingOne environment ID.

10. In the **Client ID** field, enter your PingOne client ID.

11. In the **Client Secret** field, enter your PingOne client secret.

12. Click **Apply**.

13. Click **Save**.

14. Click **Deploy**.
