> ## Documentation Index
> Fetch the complete documentation index at: https://docs.datafold.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Okta

## Okta as a SAML Identity Provider

You can create an **Application** and use that to configure access to Datafold. Click on **Applications** and **Create App Integration**.

Select **SAML 2.0**

<Frame>
  <img src="https://mintcdn.com/datafold/BHI8Zy_v4DyXlmzL/images/okta_saml_2_0-f56d1d05fe14ca913026c4618dc1518b.png?fit=max&auto=format&n=BHI8Zy_v4DyXlmzL&q=85&s=f1e88c43eab60863bde238f5a35e84b4" width="1928" height="1198" data-path="images/okta_saml_2_0-f56d1d05fe14ca913026c4618dc1518b.png" />
</Frame>

Enter "Datafold" in **App name** and click **Next**.

<Frame>
  <img src="https://mintcdn.com/datafold/BHI8Zy_v4DyXlmzL/images/okta_saml_app_name-495773bcc2261378919673c58e49b91b.png?fit=max&auto=format&n=BHI8Zy_v4DyXlmzL&q=85&s=c35496d4b016980452723e6f355c14af" width="1462" height="760" data-path="images/okta_saml_app_name-495773bcc2261378919673c58e49b91b.png" />
</Frame>

Go to `Datafold` and create a new SSO integration. Navigate to **Settings** → **Integrations** → **Add new Integration** → **SAML**.

<Frame>
  <img src="https://mintcdn.com/datafold/9DgdnO4sVNte36u-/images/saml_create-3716c6fe01352ea69c647a7856adf189.png?fit=max&auto=format&n=9DgdnO4sVNte36u-&q=85&s=d664571269b205f66ed0bfb051107a91" width="2088" height="1452" data-path="images/saml_create-3716c6fe01352ea69c647a7856adf189.png" />
</Frame>

* Copy the read-only field **Service Provider ACS URL** and paste it into **Single sign-on URL**.
* Copy the read-only field **Service Provider Entity ID** and paste it into **Audience URI (SP Entity ID)**.

<Frame>
  <img src="https://mintcdn.com/datafold/BHI8Zy_v4DyXlmzL/images/okta_saml_settings1-a3440ff6356c33c17b630039f9d0401f.jpeg?fit=max&auto=format&n=BHI8Zy_v4DyXlmzL&q=85&s=3d7efa5d1edc4303f2e99ab252ca37a3" width="1454" height="1222" data-path="images/okta_saml_settings1-a3440ff6356c33c17b630039f9d0401f.jpeg" />
</Frame>

(Optional step) In **Attribute Statements (optional)** add fields:

* Name: `first_name`, Value: `user.firstName`
* Name: `last_name`, Value: `user.lastName`

<Frame>
  <img src="https://mintcdn.com/datafold/BHI8Zy_v4DyXlmzL/images/okta_saml_attr_statements-e51a953c5ef2853fdbd6821d07322e9f.png?fit=max&auto=format&n=BHI8Zy_v4DyXlmzL&q=85&s=45f14e02b732212e1b2258fd00348222" width="1472" height="628" data-path="images/okta_saml_attr_statements-e51a953c5ef2853fdbd6821d07322e9f.png" />
</Frame>

Click **Next** and **Finish**.

Go to `Okta` and copy the **Metadata URL** field from **Datafold** → **Sign On** → **Metadata details**.

<Frame>
  <img src="https://mintcdn.com/datafold/BHI8Zy_v4DyXlmzL/images/okta_saml_meta_url-137efd7dd40576337ee02f984c8841bc.png?fit=max&auto=format&n=BHI8Zy_v4DyXlmzL&q=85&s=7cfdd7e54f625e288fab124fb02c8019" width="1448" height="1530" data-path="images/okta_saml_meta_url-137efd7dd40576337ee02f984c8841bc.png" />
</Frame>

Go back to `Datafold` and paste it into **Identity Provider Metadata URL** field.

Finally, click **Save** to create the integration.

Navigate to **Settings** → **Integrations** → **SSO** → **SAML**.

If everything is correct, the **Identity Provider Metadata XML** field will contain XML.
