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

# Account Security Settings

> Manage session timeout, audit logs, two-factor authentication, and enterprise access controls.

<div className="block dark:hidden">
  <Frame>
    <div className="p-1">
      <img src="https://mintcdn.com/nlpearl/dWWMdFzyPk-9Vcky/images/light_mode/security_cover.png?fit=max&auto=format&n=dWWMdFzyPk-9Vcky&q=85&s=7da086e4a966372cb8314a552594a31a" alt="Send Email action interface on light mode" className="rounded-[14px]" width="6000" height="2000" data-path="images/light_mode/security_cover.png" />
    </div>
  </Frame>
</div>

<div className="hidden dark:block">
  <Frame>
    <div className="p-1">
      <img src="https://mintcdn.com/nlpearl/nyDvVX0ZPwzeAWkt/images/dark_mode/security_cover.png?fit=max&auto=format&n=nyDvVX0ZPwzeAWkt&q=85&s=70aeaa667e184eade912be91c22862f2" alt="Send Email action interface on dark mode" className="rounded-[14px]" width="6000" height="2000" data-path="images/dark_mode/security_cover.png" />
    </div>
  </Frame>
</div>

***

Use account security settings to manage how users access your workspace, how long sessions stay active, and how administrators review important account activity.

<CardGroup cols={2}>
  <Card title="Session timeout" icon="clock">
    Automatically log users out after a period of inactivity.
  </Card>

  <Card title="Two-factor authentication" icon="shield">
    Add an extra verification step when users log in.
  </Card>

  <Card title="Audit log" icon="list">
    Track workspace activity and security-related events.
  </Card>

  <Card title="Enterprise SSO" icon="building-lock">
    Connect enterprise identity providers through Single Sign-On.
  </Card>
</CardGroup>

***

## Customizing Your Session Timeout

You can configure how long a session remains active before the user is automatically logged out due to inactivity. This helps protect your account if you forget to log out, especially when using a shared or public device.

On our platform, you can set the session timeout duration in **minutes**, with a minimum of **30 minutes** and a maximum of **3 days**. To adjust this setting, go to **Workspace > General Settings**, update the **Session Timeout** field, and click **Update**.

<Tip>
  Shorter session timeouts are recommended for shared devices, public computers, or workspaces with stricter security policies.
</Tip>

<div className="block dark:hidden">
  <Frame>
    <div className="p-1">
      <img src="https://mintcdn.com/nlpearl/dWWMdFzyPk-9Vcky/images/light_mode/security_timeout.jpg?fit=max&auto=format&n=dWWMdFzyPk-9Vcky&q=85&s=bec19380633f0477eb22de90ab6dddc6" alt="Session timeout setting on light mode" className="rounded-[14px]" width="2624" height="1456" data-path="images/light_mode/security_timeout.jpg" />
    </div>
  </Frame>
</div>

<div className="hidden dark:block">
  <Frame>
    <div className="p-1">
      <img src="https://mintcdn.com/nlpearl/nyDvVX0ZPwzeAWkt/images/dark_mode/security_timeout.jpg?fit=max&auto=format&n=nyDvVX0ZPwzeAWkt&q=85&s=0bdb135810e95e6e3fda76cd6046c172" alt="Session timeout setting on dark mode" className="rounded-[14px]" width="2624" height="1456" data-path="images/dark_mode/security_timeout.jpg" />
    </div>
  </Frame>
</div>

***

## Reviewing Workspace Activity with Audit Logs

The **Audit Log** helps administrators review important activity and security events in the workspace. It is useful for monitoring sign-ins, configuration changes, published Pearls, and other account-level events.

To access it, go to **Workspace > Audit Log**.

The audit log includes:

* **Timestamp**: when the event happened.
* **Event Type**: the kind of action recorded, such as a successful login or published Pearl.
* **User**: the workspace member who triggered the event.
* **Details**: additional context about the action, when available.

<Note>
  Use the date range and event type filters to narrow the audit log when investigating a specific time period or activity.
</Note>

***

## Enterprise Single Sign-On (SSO)

Single Sign-On (SSO) is available for Enterprise workspaces. It allows your team to authenticate through your company identity provider and centralize access management.

<Info>
  To enable SSO for your workspace, contact us at [support@nlpearl.ai](mailto:support@nlpearl.ai). Please include your workspace name, company domain, and preferred identity provider if available.
</Info>

***

## Setting Up Two-Factor Authentication (2FA)

Two-Factor Authentication (2FA) adds an additional step to the login process to strengthen your account’s security. Instead of relying solely on your password, which could be guessed, leaked, or stolen, 2FA requires a second form of verification that only you should have access to.

Typically, this second factor is a temporary code generated by a mobile app like Google Authenticator. Alternatively, you can receive the code by **SMS** or **email**, depending on your preferences and the contact details you provided during signup. Even if someone knows your password, they won’t be able to access your account without that second code. That’s why 2FA is a simple and highly effective way to safeguard your data.

In this guide, we’ll show you exactly how to activate and use Two-Factor Authentication on our platform.

***

### How to Set Up 2FA on the Platform

<Steps>
  <Step title="Log into your account." />

  <Step title="Access Settings and Go to Security:">
    Click on your profile icon located at the bottom-left corner of the sidebar (marked as 1 in the image).

    Then, in the top navigation bar, click on the **Advanced** tab (marked as 2).

    In the left-hand menu, under **Advanced**, select **Platform Security**, then go to the **Security** tab.

    <div className="block dark:hidden">
      <Frame>
        <div className="p-1">
          <img src="https://mintcdn.com/nlpearl/dWWMdFzyPk-9Vcky/images/light_mode/security_settings.jpg?fit=max&auto=format&n=dWWMdFzyPk-9Vcky&q=85&s=ee81c6c8e1615bef816e69d5e63e6dd1" alt="Send Email action interface on light mode" className="rounded-[14px]" width="2624" height="1456" data-path="images/light_mode/security_settings.jpg" />
        </div>
      </Frame>
    </div>

    <div className="hidden dark:block">
      <Frame>
        <div className="p-1">
          <img src="https://mintcdn.com/nlpearl/nyDvVX0ZPwzeAWkt/images/dark_mode/security_settings.jpg?fit=max&auto=format&n=nyDvVX0ZPwzeAWkt&q=85&s=0de5ee07fd553518b6c9110847ecc66f" alt="Send Email action interface on dark mode" className="rounded-[14px]" width="2624" height="1456" data-path="images/dark_mode/security_settings.jpg" />
        </div>
      </Frame>
    </div>
  </Step>

  <Step title="Locate the 2FA Box">
    Find the section labeled **Two-Factor Authentication**.\
    Click on **Set Up Authentificator**.

    <div className="block dark:hidden">
      <Frame>
        <div className="p-1">
          <img src="https://mintcdn.com/nlpearl/dWWMdFzyPk-9Vcky/images/light_mode/security_twofa.jpg?fit=max&auto=format&n=dWWMdFzyPk-9Vcky&q=85&s=ef442b547be7da13d6ab23de6d1e8fcd" alt="Send Email action interface on light mode" className="rounded-[14px]" width="2460" height="1066" data-path="images/light_mode/security_twofa.jpg" />
        </div>
      </Frame>
    </div>

    <div className="hidden dark:block">
      <Frame>
        <div className="p-1">
          <img src="https://mintcdn.com/nlpearl/nyDvVX0ZPwzeAWkt/images/dark_mode/security_twofa.jpg?fit=max&auto=format&n=nyDvVX0ZPwzeAWkt&q=85&s=fdd9dc58bd49663e82ebd062a77e7683" alt="Send Email action interface on dark mode" className="rounded-[14px]" width="2460" height="1066" data-path="images/dark_mode/security_twofa.jpg" />
        </div>
      </Frame>
    </div>
  </Step>

  <Step title="Install an Authenticator App">
    If you haven’t already, download an app like **Google Authenticator** on your mobile device.

    <div className="block dark:hidden">
      <Frame>
        <div className="p-1">
          <img src="https://mintcdn.com/nlpearl/dWWMdFzyPk-9Vcky/images/light_mode/security_appstore.jpg?fit=max&auto=format&n=dWWMdFzyPk-9Vcky&q=85&s=3c2336a15deb84785d8a8d987053604f" alt="Send Email action interface on light mode" className="rounded-[14px]" width="2460" height="1492" data-path="images/light_mode/security_appstore.jpg" />
        </div>
      </Frame>
    </div>

    <div className="hidden dark:block">
      <Frame>
        <div className="p-1">
          <img src="https://mintcdn.com/nlpearl/nyDvVX0ZPwzeAWkt/images/dark_mode/security_appstore.jpg?fit=max&auto=format&n=nyDvVX0ZPwzeAWkt&q=85&s=c0dc93b0d0133eca59838ec792b670c6" alt="Send Email action interface on dark mode" className="rounded-[14px]" width="2460" height="1492" data-path="images/dark_mode/security_appstore.jpg" />
        </div>
      </Frame>
    </div>
  </Step>

  <Step title="Scan the QR Code">
    Open the authenticator app.\
    Tap the **+** icon and select **Scan a QR Code**.

    <div className="block dark:hidden">
      <Frame>
        <div className="p-1">
          <img src="https://mintcdn.com/nlpearl/dWWMdFzyPk-9Vcky/images/light_mode/security_scanqrcode.jpg?fit=max&auto=format&n=dWWMdFzyPk-9Vcky&q=85&s=ed2da3129ee34fd175c8fc5a9c152061" alt="Send Email action interface on light mode" className="rounded-[14px]" width="2460" height="1492" data-path="images/light_mode/security_scanqrcode.jpg" />
        </div>
      </Frame>
    </div>

    <div className="hidden dark:block">
      <Frame>
        <div className="p-1">
          <img src="https://mintcdn.com/nlpearl/nyDvVX0ZPwzeAWkt/images/dark_mode/security_scanqrcode.jpg?fit=max&auto=format&n=nyDvVX0ZPwzeAWkt&q=85&s=6c2d5d35e9ea31bcf8fa147da26008cf" alt="Send Email action interface on dark mode" className="rounded-[14px]" width="2460" height="1492" data-path="images/dark_mode/security_scanqrcode.jpg" />
        </div>
      </Frame>
    </div>

    Use your camera to scan the QR code displayed on the platform.

    <div className="block dark:hidden">
      <Frame>
        <div className="p-1">
          <img src="https://mintcdn.com/nlpearl/dWWMdFzyPk-9Vcky/images/light_mode/security_scanqrcode2.jpg?fit=max&auto=format&n=dWWMdFzyPk-9Vcky&q=85&s=6835e9100abf079c8bea6238113ede7e" alt="Send Email action interface on light mode" className="rounded-[14px]" width="2460" height="1492" data-path="images/light_mode/security_scanqrcode2.jpg" />
        </div>
      </Frame>
    </div>

    <div className="hidden dark:block">
      <Frame>
        <div className="p-1">
          <img src="https://mintcdn.com/nlpearl/nyDvVX0ZPwzeAWkt/images/dark_mode/security_scanqrcode2.jpg?fit=max&auto=format&n=nyDvVX0ZPwzeAWkt&q=85&s=fc31dce6010c05d9b9fe2ca866f1efd1" alt="Send Email action interface on dark mode" className="rounded-[14px]" width="2460" height="1492" data-path="images/dark_mode/security_scanqrcode2.jpg" />
        </div>
      </Frame>
    </div>
  </Step>

  <Step title="Enter the Verification Code">
    Your app will generate a 6-digit code that refreshes every few seconds.\
    Enter this code on the platform to validate and finalize the setup.

    <div className="block dark:hidden">
      <Frame>
        <div className="p-1">
          <img src="https://mintcdn.com/nlpearl/dWWMdFzyPk-9Vcky/images/light_mode/security_scanqrcode3.jpg?fit=max&auto=format&n=dWWMdFzyPk-9Vcky&q=85&s=bcc7987b56cd5524bb5cbc53bd6d6d54" alt="Send Email action interface on light mode" className="rounded-[14px]" width="2460" height="1492" data-path="images/light_mode/security_scanqrcode3.jpg" />
        </div>
      </Frame>
    </div>

    <div className="hidden dark:block">
      <Frame>
        <div className="p-1">
          <img src="https://mintcdn.com/nlpearl/nyDvVX0ZPwzeAWkt/images/dark_mode/security_scanqrcode3.jpg?fit=max&auto=format&n=nyDvVX0ZPwzeAWkt&q=85&s=d46bea1774c87bb540cf870d34035230" alt="Send Email action interface on dark mode" className="rounded-[14px]" width="2460" height="1492" data-path="images/dark_mode/security_scanqrcode3.jpg" />
        </div>
      </Frame>
    </div>
  </Step>

  <Step title="Final Confirmation">
    Once verified, 2FA will be enabled.\
    You can toggle 2FA on or off at any time in this section.
    When active, you will be required to enter a verification code at each login.

    <div className="block dark:hidden">
      <Frame>
        <div className="p-1">
          <img src="https://mintcdn.com/nlpearl/dWWMdFzyPk-9Vcky/images/light_mode/security_update2fa.jpg?fit=max&auto=format&n=dWWMdFzyPk-9Vcky&q=85&s=973e631be2e96c613d4bb9f4a019453f" alt="Send Email action interface on light mode" className="rounded-[14px]" width="2460" height="1066" data-path="images/light_mode/security_update2fa.jpg" />
        </div>
      </Frame>
    </div>

    <div className="hidden dark:block">
      <Frame>
        <div className="p-1">
          <img src="https://mintcdn.com/nlpearl/nyDvVX0ZPwzeAWkt/images/dark_mode/security_update2fa.jpg?fit=max&auto=format&n=nyDvVX0ZPwzeAWkt&q=85&s=7716e2190cb05252a2df0a2b8e9bfd49" alt="Send Email action interface on dark mode" className="rounded-[14px]" width="2460" height="1066" data-path="images/dark_mode/security_update2fa.jpg" />
        </div>
      </Frame>
    </div>
  </Step>
</Steps>

***

### After Activation: How 2FA Works

* Every time you log into your account, you will be prompted to enter a verification code.
* You can retrieve this code from your authenticator app.
* Alternatively, you can receive the code via **SMS**, depending on the method you have set up.

<div className="block dark:hidden">
  <Frame>
    <div className="p-1">
      <img src="https://mintcdn.com/nlpearl/dWWMdFzyPk-9Vcky/images/light_mode/security_login.jpg?fit=max&auto=format&n=dWWMdFzyPk-9Vcky&q=85&s=28488696da4286321c83d5caf25d3e9c" alt="Send Email action interface on light mode" className="rounded-[14px]" width="2624" height="1456" data-path="images/light_mode/security_login.jpg" />
    </div>
  </Frame>
</div>

<div className="hidden dark:block">
  <Frame>
    <div className="p-1">
      <img src="https://mintcdn.com/nlpearl/nyDvVX0ZPwzeAWkt/images/dark_mode/security_login.jpg?fit=max&auto=format&n=nyDvVX0ZPwzeAWkt&q=85&s=ecdc00932b5d98c9621785e64b459be9" alt="Send Email action interface on dark mode" className="rounded-[14px]" width="2624" height="1456" data-path="images/dark_mode/security_login.jpg" />
    </div>
  </Frame>
</div>
