# Okta configuration

{% hint style="info" %}
NOTE: You need to be an admin to do the following steps in Okta
{% endhint %}

* Login into Okta and go to **Applications** section in Admin Panel<br>

  <figure><img src="/files/VQCCXnGBCBwJHkzWCMIM" alt=""><figcaption></figcaption></figure>
* Create a new SAML 2.0 app\ <br>

  <figure><img src="/files/7wFPskOdXjgUpuCoIjxc" alt=""><figcaption></figcaption></figure>

  <figure><img src="/files/RqwwA9oq7QtnzE37qZsl" alt=""><figcaption></figcaption></figure>
* Choose an appropriate name for the app (for eg. **unSkript-sso**) and click **Next**

  <figure><img src="/files/yjn7xR89UlIZ3CD7f4ZW" alt=""><figcaption></figcaption></figure>
* On the **Configure SAML** tab, please fill in the highlighted fields<br>

  <figure><img src="/files/dXYLl3G1TVK4OImO74HY" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Please reach out to unSkript team at <support@unskript.com> for the values of the above fields.
{% endhint %}

* In the **Attribute statements** section of the form, please fill in the following 2 attributes<br>

  <figure><img src="/files/nqVFQMOL6s70p2S869i2" alt=""><figcaption></figcaption></figure>

  * The **name** attribute value will be  \
    `String.join(" ", user.firstName, user.lastName)`
  * The **email** attribute value will be **user.email** (Chose from the drop down)
  * Click **Next**
* On the **Feedback** page, please check the highlighted option and click **Finish**<br>

  <figure><img src="/files/QSP7D7QhAWfNiOaELlRn" alt=""><figcaption></figcaption></figure>
* Next, we will need the Single sign-on URL and x.509 certificate to configure the SP on our side.   Click on the highlighted button to get the above values<br>

  <figure><img src="/files/8cgtLThNGmJRh6tLJ9YT" alt=""><figcaption></figcaption></figure>
* Copy **Identity Provider Single Sign-On URL** and also download the certificate as highlighted below<br>

  <figure><img src="/files/BPnKB4993B1bBgPXvXF5" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Please send the above 2 piece of information to <support@unskript.com>
{% endhint %}

* Assign users to this new application, so that sign in into unSkript application using Okta SSO. Click on **Assignments** tab to accomplish this.<br>

  <figure><img src="/files/vXsyN6KvWjukn9qIXFmt" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.unskript.com/unskript-documentation/guides/getting-started/authentication/okta-configuration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
