> ## 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/Utixv1_73hqGLnyk/images/dark_mode/security-cover.svg?fit=max&auto=format&n=Utixv1_73hqGLnyk&q=85&s=c3b6496fc653748aac3ca9d4500f5a03" alt="Account Security Settings cover" className="rounded-[14px]" width="1048" height="720" data-path="images/dark_mode/security-cover.svg" />
    </div>
  </Frame>
</div>

<div className="hidden dark:block">
  <Frame>
    <div className="p-1">
      <img src="https://mintcdn.com/nlpearl/Utixv1_73hqGLnyk/images/dark_mode/security-cover.svg?fit=max&auto=format&n=Utixv1_73hqGLnyk&q=85&s=c3b6496fc653748aac3ca9d4500f5a03" alt="Account Security Settings cover" className="rounded-[14px]" width="1048" height="720" data-path="images/dark_mode/security-cover.svg" />
    </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" iconType="light">
    Automatically log users out after a period of inactivity.
  </Card>

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

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

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

***

## Accessing Your Settings

All the settings on this page live in your **Settings**. To open them, click your **profile card** at the bottom-left corner of the sidebar, then select **Settings**.

<Frame>
  <img src="https://mintcdn.com/nlpearl/5aa5Rk7qHypaYdNc/images/dark_mode/go-to-settings.png?fit=max&auto=format&n=5aa5Rk7qHypaYdNc&q=85&s=dfc9db0b75112fe19e8e8212903ca193" alt="Open Settings from the profile card" className="rounded-[14px]" width="5120" height="2880" data-path="images/dark_mode/go-to-settings.png" />
</Frame>

From there, use the left menu: the **Security** tab (under *User*) for 2FA and password, and **General Settings** or **Audit Log** (under *Workspace*) for session timeout and activity logs.

***

## 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.

The session timeout is set in **minutes**, with a minimum of **30 minutes** and a maximum of **3 days**.

<Note>
  This is a **workspace-level** setting managed by the **workspace owner**. The value applies to **all members** of the workspace, not just the account that changes it.
</Note>

<Steps>
  <Step title="Open General Settings">
    Go to **Settings > General Settings** under the *Workspace* section.

    <Frame>
      <img src="https://mintcdn.com/nlpearl/Utixv1_73hqGLnyk/images/dark_mode/security-general-settings-location.png?fit=max&auto=format&n=Utixv1_73hqGLnyk&q=85&s=39a4e737f462a49ec04f89f626dc5acc" alt="General Settings tab in the Workspace section" className="rounded-[14px]" width="5120" height="2880" data-path="images/dark_mode/security-general-settings-location.png" />
    </Frame>
  </Step>

  <Step title="Set the Session Timeout">
    In the **Session Timeout** field, enter the duration in minutes and click **Update**.

    <Frame>
      <img src="https://mintcdn.com/nlpearl/Utixv1_73hqGLnyk/images/dark_mode/security-session-timeout.png?fit=max&auto=format&n=Utixv1_73hqGLnyk&q=85&s=bb99f603e12e3555acc483c9b3017c1c" alt="Session Timeout field in Workspace General Settings" className="rounded-[14px]" width="5120" height="2880" data-path="images/dark_mode/security-session-timeout.png" />
    </Frame>
  </Step>
</Steps>

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

***

## 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 **Settings > Audit Log** under the *Workspace* section.

<Frame>
  <img src="https://mintcdn.com/nlpearl/Utixv1_73hqGLnyk/images/dark_mode/security-audit-log-location.png?fit=max&auto=format&n=Utixv1_73hqGLnyk&q=85&s=7cde3824570c1f142cf642b14bc85c77" alt="Audit Log tab in the Workspace section" className="rounded-[14px]" width="5120" height="2880" data-path="images/dark_mode/security-audit-log-location.png" />
</Frame>

Each entry in the 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.

### Recorded event types

The audit log records the following events. The **Event Type** filter uses the same labels shown below.

#### Pearls

| Event type | Description |
| - | - |
| Publish Pearl | A Pearl was published. |
| Pearl Status | A Pearl's status was changed. |
| Pearl Retention | A Pearl's data retention settings were changed. |
| Pearl Total Agents | The number of agents assigned to a Pearl was changed. |
| Pearl Budget | A Pearl's budget was changed. |
| Pearl Phone Number | A Pearl's phone number was changed. |
| Transfer Pearl | A Pearl was transferred. |
| Delete Pearl | A Pearl was deleted. |

#### API keys

| Event type | Description |
| - | - |
| Create API Key | An API secret key or an OAuth 2.0 app was created. |
| Update API Key | An OAuth 2.0 app's scopes were changed. |
| Rotate API Key Secret | An OAuth 2.0 app's client secret was rotated. The secret value is not stored in the log. |
| Delete API Key | An API secret key or an OAuth 2.0 app was deleted. |
| Reveal API Key | An API key was revealed. The secret value is not stored in the log. |

#### Users and roles

| Event type | Description |
| - | - |
| Invite User | A user was invited to the workspace. |
| User Join | A user joined the workspace. |
| Invitation Canceled | A pending invitation was canceled. |
| Update User Role | A user's role was changed. |
| Update Account Information | Workspace account information was changed. |
| Remove User from Account | A user was removed from the workspace. |
| User Left Account | A user left the workspace. |
| Create Role | A workspace role was created. |
| Update Role | A workspace role or its permissions were changed. |
| Delete Role | A workspace role was deleted. |

#### Security

| Event type | Description |
| - | - |
| Login Attempt | A user attempted to sign in. |
| Login Successful | A user signed in successfully. |
| Update Session TTL | The workspace session timeout was changed. |
| Set 2FA | Two-factor authentication settings were changed. |
| Change Password | A user changed their password. |
| Delete Account | The workspace account was deleted. |
| Add to Blacklist | One or more phone numbers were added to the blacklist. |
| Remove from Blacklist | One or more phone numbers were removed from the blacklist. |

#### Billing and agents

| Event type | Description |
| - | - |
| Purchase Agents | Agents were purchased. |
| Delete Agent | An agent was removed. |
| Set Billing Details | Workspace billing details were changed. |
| Set Payment Method | The workspace payment method was changed. |
| Set Subscription | The workspace subscription was changed. |
| Cancel Subscription | The workspace subscription was canceled. |
| Purchase Credits | Credits were purchased. |
| Set Auto Recharge | Automatic credit recharge settings were changed. |

#### Phone numbers

| Event type | Description |
| - | - |
| Purchase Phone Numbers | One or more phone numbers were purchased. |
| Release Phone Number | A phone number was released. |
| Add Phone Number | A bring-your-own phone number was added. |
| Update Phone Number | A phone number's settings were changed. |
| Update SIP Configuration | SIP settings for a phone number were changed. |
| Set Twilio Credentials | Workspace Twilio credentials were changed. |

#### Text channels and integrations

| Event type | Description |
| - | - |
| Create Text Channel | A text channel was created. |
| Update Text Channel | A text channel was changed. |
| Delete Text Channel | A text channel was deleted. |
| Rotate Channel Secret | A text channel secret was rotated. |
| Reveal Channel Secret | A text channel secret was revealed. The secret value is not stored in the log. |
| Connect WhatsApp | A WhatsApp integration was connected. |
| Add WhatsApp Number | A phone number was added to a WhatsApp integration. |
| Disconnect WhatsApp | A WhatsApp integration was disconnected. |
| Set Email Credentials | Email credentials were configured. |
| Delete Email Credentials | Email credentials were removed. |
| Connect Slack | A Slack integration was connected. |
| Connect Calendar | A calendar integration was connected. |

#### Data and groups

| Event type | Description |
| - | - |
| Import Leads | Leads were imported into a Pearl. |
| Delete Leads | Leads were deleted from a Pearl. |
| Delete Calls | Calls were deleted from a Pearl. |
| Export Calls | Calls were exported from a Pearl. |
| Group Retention | A group's contact retention settings were changed. |
| Delete Contacts | Group contacts were purged by the retention policy. |

<Frame>
  <img src="https://mintcdn.com/nlpearl/Utixv1_73hqGLnyk/images/dark_mode/security-audit-log-filters.png?fit=max&auto=format&n=Utixv1_73hqGLnyk&q=85&s=d635964537fdc66dade692f0ab2cf583" alt="Audit Log with date range and event type filters" className="rounded-[14px]" width="5120" height="2880" data-path="images/dark_mode/security-audit-log-filters.png" />
</Frame>

<Note>
  Use the **date range** and **Event Type** filters at the top right 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>

Once SSO is enabled, members sign in with the **Sign in with SSO** button on the login screen instead of entering a password.

<Frame>
  <img src="https://mintcdn.com/nlpearl/Utixv1_73hqGLnyk/images/dark_mode/security-sso-login.png?fit=max&auto=format&n=Utixv1_73hqGLnyk&q=85&s=36ad490796a91638933c599bbdfb3441" alt="Sign in with SSO button on the login screen" className="rounded-[14px]" width="5120" height="2880" data-path="images/dark_mode/security-sso-login.png" />
</Frame>

***

## 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. If you can't reach your app, you can also receive the code by **SMS** at login. 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

<Steps>
  <Step title="Open the Platform Security page">
    Click your **profile card** at the bottom-left corner of the sidebar, open **Settings**, then select the **Security** tab under the *User* section.

    <Frame>
      <img src="https://mintcdn.com/nlpearl/Utixv1_73hqGLnyk/images/dark_mode/security-tab-location.png?fit=max&auto=format&n=Utixv1_73hqGLnyk&q=85&s=c7ee10076adf3948aef8894fff83e653" alt="Security tab in Settings, opening the Platform Security page" className="rounded-[14px]" width="5120" height="2880" data-path="images/dark_mode/security-tab-location.png" />
    </Frame>
  </Step>

  <Step title="Locate the 2FA box">
    The **Platform Security** page has two areas: the **2FA (Two-Factor Authentication)** box and a **Reset Password** section.

    <Frame>
      <img src="https://mintcdn.com/nlpearl/Utixv1_73hqGLnyk/images/dark_mode/security-2fa-location.png?fit=max&auto=format&n=Utixv1_73hqGLnyk&q=85&s=fb21845febe91f8aa3820ad3755344e2" alt="Two-Factor Authentication box on the Platform Security page" className="rounded-[14px]" width="5120" height="2880" data-path="images/dark_mode/security-2fa-location.png" />
    </Frame>
  </Step>

  <Step title="Open the setup window">
    In the **2FA (Two-Factor Authentication)** box, click **Set up authenticator** (labeled **Reset authenticator** once 2FA is already set up) to open the QR code window.

    <Frame>
      <img src="https://mintcdn.com/nlpearl/Utixv1_73hqGLnyk/images/dark_mode/security-2fa-setup-button.png?fit=max&auto=format&n=Utixv1_73hqGLnyk&q=85&s=0c66bb37294ad8f8cf38824bbd915c1a" alt="Button that opens the 2FA setup window" className="rounded-[14px]" width="5120" height="2880" data-path="images/dark_mode/security-2fa-setup-button.png" />
    </Frame>

    The **Secure your NLPearl account with 2FA** window appears, showing a QR code on the right and the boxes to enter your code.

    <Frame>
      <img src="https://mintcdn.com/nlpearl/Utixv1_73hqGLnyk/images/dark_mode/security-2fa-setup-window.png?fit=max&auto=format&n=Utixv1_73hqGLnyk&q=85&s=7624abb729118d69772a5dba70fcbb29" alt="2FA setup window with QR code and verification code" className="rounded-[14px]" width="5120" height="2880" data-path="images/dark_mode/security-2fa-setup-window.png" />
    </Frame>
  </Step>

  <Step title="Download an authenticator app">
    On your phone, install an authenticator app such as **Google Authenticator**, **Microsoft Authenticator**, or **Authy**.

    <Frame>
      <img src="https://mintcdn.com/nlpearl/Utixv1_73hqGLnyk/images/dark_mode/security-google-authenticator-appstore.png?fit=max&auto=format&n=Utixv1_73hqGLnyk&q=85&s=a487ad51ffe8a83ddea53fb2342258b5" alt="Google Authenticator on the App Store" className="rounded-[14px]" width="5120" height="2880" data-path="images/dark_mode/security-google-authenticator-appstore.png" />
    </Frame>
  </Step>

  <Step title="Scan the QR code">
    Open the app, tap the **+** button, and choose **Scan a QR code**. Point your camera at the QR code shown in the setup window.

    <Frame>
      <img src="https://mintcdn.com/nlpearl/Utixv1_73hqGLnyk/images/dark_mode/security-google-authenticator-scan.png?fit=max&auto=format&n=Utixv1_73hqGLnyk&q=85&s=b6874e2ce52ffeb4fdc874c773552077" alt="Scanning a QR code in Google Authenticator" className="rounded-[14px]" width="5120" height="2880" data-path="images/dark_mode/security-google-authenticator-scan.png" />
    </Frame>
  </Step>

  <Step title="Enter the 6-digit code">
    The app generates a **6-digit code** that refreshes every few seconds. Enter it in the setup window and click **Verify & Activate**.

    <Frame>
      <img src="https://mintcdn.com/nlpearl/Utixv1_73hqGLnyk/images/dark_mode/security-google-authenticator-code.png?fit=max&auto=format&n=Utixv1_73hqGLnyk&q=85&s=d69369a0196d37ec3021d2d9a79995c8" alt="6-digit code generated by Google Authenticator" className="rounded-[14px]" width="5120" height="2880" data-path="images/dark_mode/security-google-authenticator-code.png" />
    </Frame>
  </Step>

  <Step title="Turn 2FA on or off">
    Once 2FA has been set up, use the **toggle** in the 2FA box to turn it on or off for your account at any time. When it's on, you're asked for a code at every login; when it's off, 2FA is disabled but your authenticator stays configured.

    <Frame>
      <img src="https://mintcdn.com/nlpearl/Utixv1_73hqGLnyk/images/dark_mode/security-2fa-toggle.png?fit=max&auto=format&n=Utixv1_73hqGLnyk&q=85&s=7f0d36f9a524d71621aef069802982b8" alt="Toggle to turn 2FA on or off on your account" className="rounded-[14px]" width="5120" height="2880" data-path="images/dark_mode/security-2fa-toggle.png" />
    </Frame>

    <Check>
      Once the code is verified, 2FA is active on your account. You'll be asked for a code at every login.
    </Check>

    <Note>
      Lost access to your authenticator app or got a new phone? Click **Reset authenticator** in the 2FA box (the same button used during setup) to unlink the current device and reopen the QR window to set up a new one.
    </Note>
  </Step>

  <Step title="How it works at login">
    Once 2FA is active, every login prompts you for a verification code:

    * Enter the current 6-digit code from your **authenticator app**.
    * If you can't reach your app, click **Get your code via SMS** in the prompt to receive the code by text instead.

    <Frame>
      <img src="https://mintcdn.com/nlpearl/Utixv1_73hqGLnyk/images/dark_mode/security-2fa-login-prompt.png?fit=max&auto=format&n=Utixv1_73hqGLnyk&q=85&s=10ef52e12b7a74e9e3c6a994d4a3314f" alt="Two-Factor Authentication prompt at login" className="rounded-[14px]" width="5120" height="2880" data-path="images/dark_mode/security-2fa-login-prompt.png" />
    </Frame>
  </Step>
</Steps>

***

## Resetting Your Password

You can update your account password at any time from the **Platform Security** page. In the **Reset Password** section, click **Reset Password** and follow the prompts.

<Frame>
  <img src="https://mintcdn.com/nlpearl/Utixv1_73hqGLnyk/images/dark_mode/security-reset-password.png?fit=max&auto=format&n=Utixv1_73hqGLnyk&q=85&s=5cd6184dfd75b6d614dfa40b67f4d534" alt="Reset Password section on the Platform Security page" className="rounded-[14px]" width="5120" height="2880" data-path="images/dark_mode/security-reset-password.png" />
</Frame>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.