> For the complete documentation index, see [llms.txt](https://docs.expel.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.expel.io/connect-your-technology/q-z-integrations/sublime-security-setup-for-workbench.md).

# Sublime Security Setup for Workbench

This integration enables application of Expel's detection strategy to Message Groups and Messages from Sublime Security, as well as pulling of alerts into Workbench for investigation and remediation.

## Prerequisites

* You must have admin access in Workbench to set up this integration.
* You must have Admin privileges in Sublime to create a user account and API key.

## Step 1: Add a Sublime User with the Analyst Role for Console Access

The Analyst role is the minimum required role from the default roles available and necessary for Expel to fully triage and research alerts, as well as manage API keys. [Learn more about why Expel asks for console access](/connect-your-technology/about-integrations/why-expel-asks-for-console-access.md).

1. Log into the [Sublime dashboard](https://platform.sublime.security/).
2. Using the side menu, navigate to **Admin > Account**.
3. In the Users section, select **Invite Users**.<br>

   <div align="left"><figure><img src="/files/hxMkRHWbKXmxw3zOlnL7" alt="Select the Invite users button on the Users page." width="563"><figcaption></figcaption></figure></div>
4. On the Invite users page, configure the settings as follows:
   * **Email addresses** - enter "soc+\<Your\_Organization\_Name>@expel.io".
     * For example, if your organization were Acme Corp, the format would be "<soc+acme_corp@expel.io>".
   * **Role** - select **Analyst** from the dropdown menu.
5. Select **Create invitation**.<br>

   <div align="left"><figure><img src="/files/cMbuZUQ29KwdSkEmELWU" alt="Invite users screen shows the SOC email address added, the Analyst role selected, and the Create invitation button is highlighted." width="342"><figcaption></figcaption></figure></div>

This triggers an email invitation allowing the Expel SOC to create an account and complete console access configuration in Workbench on your behalf.

## Step 2: Generate API Credentials

To integrate the technology with Workbench, you need to create secure credentials for the API.

1. In Sublime, use the side menu to navigate to **Automate > API**.
2. Your Base URL is displayed near the top of the page. **Copy and save** it to a safe place for use in a later step. *Base URLs depend on deployment type and region, so yours may be different from the example below.*<br>

   <div align="left"><figure><img src="/files/GN7TMwbpCb1TNKJgb08Y" alt="Copy the Base URL provided on the API Keys page." width="563"><figcaption></figcaption></figure></div>
3. Next, select **New Key**.
4. Give your new key a name, for example "Expel-Key".
5. Select **Save**.<br>

   <div align="left"><figure><img src="/files/cRQsa3rTtPmVWx3Hi4YF" alt="In this example, the API key is named Expel-Key." width="375"><figcaption></figcaption></figure></div>
6. The next screen shows the newly generated API key. **Copy and save** this value in a safe place for use in a later step. *You may also reference this value on the API page later if needed.*<br>

   <div align="left"><figure><img src="/files/cry0VsDA2iHp9LnwW97K" alt="Create API Key screen reads Here&#x27;s your shiny new API key with the new key provided." width="375"><figcaption></figcaption></figure></div>
7. Close the Create API Key modal. Your new key appears in the API Keys list.

## Step 3: Add a Tag to a Rule in Sublime

This step is optional and allows you to apply a tag to any rules for which you don't want results pulled into Workbench. For example, you could apply a tag to a rule for a process that isn't related to malicious emails or phishing.<br>

1. In Sublime, use the side menu to navigate to **Detection Posture > Detection Rules**.
2. Select **List view**.
3. Select the rule you wish to create a tag for.
4. On the Detection Rule Details screen, select **Edit Metadata**.<br>

   <div align="left"><figure><img src="/files/xsCt2UKX8Pn96CfnCm6A" alt="The Detection Rule Details screen includes an Edit Metadata button." width="342"><figcaption></figcaption></figure></div>
5. Leave the Actions dropdown with no action selected.
6. In the Tags dropdown, enter "ExpelIgnore" and select **Create "ExpelIgnore"**.<br>

   <div align="left"><figure><img src="/files/fQOs9BhFLzKMz4nCEe7a" alt="ExpelIgnore has been entered and Create &#x22;ExpelIgnore&#x22; is available in the dropdown." width="292"><figcaption></figcaption></figure></div>
7. Select **Save Rule**.<br>

   <div align="left"><figure><img src="/files/23aavoLuqtvM1ZjymLqf" alt="ExpelIgnore is entered as a tag and the Save Rule button is highlighted." width="291"><figcaption></figcaption></figure></div>

## Step 4: Add Sublime Security as a Security Device in Workbench

Now that you have the necessary credentials, you can configure the integration in Workbench.

1. [Log in to Workbench](https://workbench.expel.io/auth/login?orig=%2F).
2. In the side menu, navigate to **Organization Settings > Security Devices**.
3. Select **Add Security Device**.
4. In the search box, type “Sublime” and then select the **Sublime Security** integration.<br>

   <div align="left"><figure><img src="/files/ZXRHduaPjLd3FrCZBOay" alt="Sublime Security Add a Security Device screen in Workbench." width="328"><figcaption></figcaption></figure></div>
5. A configuration pane displays. Complete the fields as follows:
   * **Name** - enter a name that might help you more easily identify this integration, such as “CompanyName Sublime Security”; this name will display in Workbench under the Name column, and is a text string that you can filter on.
   * **Location** - enter the location of your integration, for example “cloud.” This is also a text string that you can filter on, so we recommend being consistent with location naming across your Expel integrations.
   * **Sublime security API base URL** - enter the Base URL you acquired in [Step 2](#step-2-generate-api-credentials).
   * **Sublime security API key** - enter the API Key generated in [Step 2](#step-2-generate-api-credentials).
6. Select **Save**.
7. On the console access screen, select **Set up later** from the dropdown, as Expel will complete console access configuration.
8. Select **Save**.
9. Your device should be created successfully within a few seconds. A few reminders:
   * After your connection is healthy, it will take some time for your device to begin polling and receiving data.
   * To check on the status, select the downward arrow for your device in the first column and choose **View details**.
   * Polling will happen first; data will be received after that. **You must refresh the page to see updates**.
   * If your device does not begin polling within 15 minutes, and does not begin receiving data within 30 minutes, [contact our support team](/support/how-to-reach-us.md) for help.
   * To check if alerts are coming through, navigate to **Dashboards > Alert Analysis**. Scroll to the device you want to check, and select the **Expel Alerts** tab to reveal more alert information. It can take 36 to 72 hours for alerts to appear after setup, as we [tune your device](/workbench-reference/alerts/how-expel-alerts-work.md#device-tuning).

## Step 5: Enable Auto-Remediation of Delivered Messages

Delivered messages from Sublime Security can be remediated via an automated workflow which will fire on alerts for newly-delivered messages, and automatically remove these emails from user inboxes if the customer is onboarded with one of the supported email integrations (Microsoft 365 or GSuite, for example).

In order to enable this automatic removal of emails, two steps must be completed.

**Note that enabling Step 1 on its own simply gives the Expel SOC the ability to auto-remove emails on demand, at human discretion.**&#x20;

**Enabling Step 2 allows an automated workflow to remove every email marked as a delivered threat by Sublime Security whether or not this email has already been triaged/investigated by the Expel SOC, without human input.**

Removal of the email will not impact correlated detections; The Expel SOC will still respond to any additional detections and events linked to the original email. Visibility into removed emails is provided via Workbench, and removed emails can be restored to an inbox at customer request by either the customer or Expel.

#### Step 1: Enable the “Remove Malicious Email” Auto-Remediation

Follow the setup instructions for your email vendor(s) in the [Expel Auto Remediations setup guides](/workbench-setup/auto-remediations/remove-malicious-email.md) to prepare to enable the Auto-Remediation for “Remove Malicious Email”.

#### Step 2: Enable the Customer Configuration for Auto-Removal of Delivered Messages

Sublime Security uses one Expel customer configuration option,  `org.preference.email.auto_remediate_delivered`, that can be enabled via self-service in Workbench, or by your Customer Success Manager.

In order to use this configuration option, you must have already onboarded a supported email client with Expel (e.g. Microsoft 365 or GSuite).

When checked, this configuration option will enable the auto-removal of all **Delivered Message events** from Sublime Security, *regardless of if the message has been triaged by Expel’s SOC or not*. The delivered email will be removed for every impacted user that can be found in the onboarded email client.

If the **Delivered Message** event is later correlated to other activity, such as a suspicious identity, download, or execution event, this activity will still surface a separate alert that will be triaged by Expel’s SOC, unimpacted by this auto remediation.

To set up this configuration option:

1. [Log in to Workbench](https://workbench.expel.io/).
2. Using the side menu, navigate to **Organization Settings**, select **My Organizations**, and select the name of your organization under the Name column:<br>

   <div align="left"><figure><img src="/files/oPUoJaxhZI9xGc7CQTnB" alt="" width="287"><figcaption></figcaption></figure></div>
3. Navigate to the **Configuration** tab, and find or filter by `org.preference.email.auto_remediate_delivered`.
4. Check the box to enable this configuration option.
5. Select **Save**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.expel.io/connect-your-technology/q-z-integrations/sublime-security-setup-for-workbench.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
