---
title: "Whitelisting"
icon : "shield-check"
description: "Grant users access to your script from the dashboard, via Discord, or by importing a list."
---

# Whitelisting users

Whitelisting grants a specific Discord user permission to run your script. Until a user appears on your whitelist, the loader rejects them on first execution. You can manage the whitelist from the dashboard, from Discord, or in bulk by importing a file. All three routes update the same list.

## From the dashboard

<Steps>

  <Step
    title   ="Open the Users tab"
    image   ="/assets/docs/_usermanual/whitelisting/fromdashboardfr/1.png"
    imageAlt="Users page inside a project with the Add Users button highlighted in the top right"
  >
    Open the project, then click the **Users** tab in the sidebar. Click **Add Users** in the top-right corner.
  </Step>

  <Step
    title   ="Complete the Add User form"
    image   ="/assets/docs/_usermanual/whitelisting/fromdashboardfr/2.png"
    imageAlt="Add User modal showing Discord ID, Expiry, and Identifier fields"
  >
    The modal has three fields:

    - **Discord ID** *(required)* — the 17–20 digit identifier of the account you are whitelisting. Enable Developer Mode in Discord, right-click the user, and select **Copy User ID**.
    - **Expiry (days)** *(optional)* — days the whitelist entry stays active. Leave blank for permanent.
    - **Identifier** *(optional)* — an internal note visible only on your dashboard. Use it to record the purchase source, plan tier, or any other detail.

    Click **Whitelist** to confirm. The user appears in the list immediately and can run your script on their next execution.
  </Step>

</Steps>

## From the Discord bot

When the [EnvyAuth bot](/docs/discord-bot) is installed in your server, whitelist directly from any channel:

```text
/whitelist user:@someone project:<your-project>
```

Useful for granting access during a live conversation or delegating whitelisting to staff without dashboard access.

## Importing users from another service

If you are migrating from another whitelist platform, you can bring your entire user list across in one operation.

<Warning title="Before you start">
  - Large imports take **1 to 4 minutes** depending on row count.
  - **Do not refresh or close the tab while the import is running.** Remaining rows are lost if the process is interrupted.
  - Each subscription plan has a maximum import size. Rows beyond the limit fail; rows within it are imported normally.
</Warning>

<Steps>

  <Step
    title   ="Open Manage Users"
    image   ="/assets/docs/_usermanual/importusers/1.png"
    imageAlt="Users page with the more-options menu open showing the Manage Users entry"
  >
    On the **Users** tab, click the `⋯` menu in the top-right corner and select **Manage Users**.
  </Step>

  <Step
    title   ="Switch to the Import tab"
    image   ="/assets/docs/_usermanual/importusers/2.png"
    imageAlt="Manage modal with the Import tab active and a Choose file area for JSON uploads"
  >
    The Manage dialog has four tabs: Generate, Export, Import, and Compensate. Select **Import**.

    Drop a `.json` file onto the **Choose file** area or click **Browse**. Each row in the file represents one user.
  </Step>

  <Step
    title   ="Map the columns"
    image   ="/assets/docs/_usermanual/importusers/3.png"
    imageAlt="Field mapping screen showing Discord ID, Note, and two Expire fields with detected JSON keys"
  >
    After the file is read, match each destination column to the corresponding key in your JSON file:

    - **Discord ID** *(required)* — every row must contain a valid Discord ID. Rows without one are skipped.
    - **Note** *(optional)* — a free-form label saved alongside each user.
    - **Expire — duration (days)** *(optional)* — days until the key expires.
    - **Expire — absolute (unix)** *(optional)* — a Unix timestamp for the exact expiry moment. Takes precedence over duration when both fields are present.

    The footer shows how many rows are ready and how many will be skipped. Click **Import N** to begin.
  </Step>

  <Step
    title   ="Wait for the confirmation"
    image   ="/assets/docs/_usermanual/importusers/4.png"
    imageAlt="Green confirmation toast at the bottom of the screen reporting that the import completed"
  >
    A green toast appears once the import finishes. The imported users are now whitelisted.
  </Step>

</Steps>
