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

# Set up iManage for Draftable Clean

> Administrator guide to connecting Draftable Clean to iManage Work and adding the Clean with Draftable action to the right-click menu.

Draftable Clean works with iManage Work in two ways:

* **From Draftable Clean:** users select **iManage** in the toolbar to open documents, then save the cleaned files back to iManage.
* **From iManage:** users right-click one or more documents or versions and select **Clean with Draftable**. The files open in Draftable Clean, ready to scan and clean.

The first needs only Part 1 of this guide. The right-click action also needs Parts 2 and 3.

## Before you start

You need:

* An iManage administrator account with access to **Control Center**
* Draftable Clean installed on your users' computers
* Your iManage server address, for example `https://cloudimanage.com`

> [!WARNING]
>
> **Using iManage on-premises?** The package that adds the right-click action is not yet included with Draftable Clean. Your users can still open and save iManage files from Draftable Clean by following Part 1. Parts 2 and 3 currently apply to iManage Cloud.

## Part 1: Connect Draftable Clean to iManage

**1. Open the integration settings**

In Draftable Clean, open **Settings > Integrations**.

![Draftable Clean Integrations settings with the iManage section](https://mintcdn.com/draftable/c8TERUGWvzThLeh1/images/Draftable-clean-images/0.%20Integrations%20settings.png?fit=max\&auto=format\&n=c8TERUGWvzThLeh1\&q=85\&s=6748a2f25d9697622f9e86213c17a8e8)

**2. Turn on iManage**

Under **iManage**, select **Enable iManage integration**.

**3. Enter your server address**

Enter your iManage address in **Server URL**. The default is `https://cloudimanage.com`.

Draftable Clean connects to one iManage server at a time.

**4. Sign in**

Select **iManage** in the Draftable Clean toolbar and sign in. Your iManage file picker opens.

Draftable Clean doesn't keep the iManage session after it closes, so users may be asked to sign in again the next time they use iManage. To start the connection when the application opens, select **Automatically connect on application start**.

To apply these settings to all users, use the iManage policies in [Configuring preferences with Group Policy](https://help.draftable.com/hc/en-us/Draftable-Clean-articles/Configuring-preferences-with-Group-Policy-Draftable-Clean.md).

> [!NOTE]
>
> If your identity provider or Conditional Access policy blocks sign-in from embedded browsers, select **Use system browser to sign in**. iManage sign-in then opens in the user's default web browser.

## Part 2: Add Draftable Clean in Control Center

**1. Open Control Center**

Sign in to iManage and open **Control Center**.

![iManage Control Center dashboard](https://mintcdn.com/draftable/G4DeFkZ0uUbcaN7E/images/using-draftable-legal-with-iManage/image-66.png?fit=max\&auto=format\&n=G4DeFkZ0uUbcaN7E\&q=85\&s=c338961d45aceff6313359ecef2c2923)

**2. Go to Applications**

In the left menu, under **Settings**, select **Applications**.

![Applications selected under Settings in Control Center](https://mintcdn.com/draftable/YYRhIAITOwcjRPgo/images/using-draftable-legal-with-iManage/image-67.png?fit=max\&auto=format\&n=YYRhIAITOwcjRPgo\&q=85\&s=5b7daddf4954d3d1923809829de9a738)

**3. Add the application**

Select **Add Application**.

![Add Application button on the Applications page](https://mintcdn.com/draftable/YYRhIAITOwcjRPgo/images/using-draftable-legal-with-iManage/image-68.png?fit=max\&auto=format\&n=YYRhIAITOwcjRPgo\&q=85\&s=d7046accc67f9e616b37879304f2ecf7)

**4. Select Draftable Clean**

Search for **Draftable**, select **Draftable - Clean**, then select **Authentication**.

![Add Application search with Draftable - Clean and the Authentication button highlighted](https://mintcdn.com/draftable/8IbWba2lVwM9qcTl/images/Draftable-clean-images/clean-imanage-add-application-draftable-clean.png?fit=max\&auto=format\&n=8IbWba2lVwM9qcTl\&q=85\&s=9a5fdc093040a89dae4b4ef3b43a7790)

**5. Set the authentication options**

Set the following, then select **Access**:

* **Allow Refresh Token:** Yes
* **Refresh Token Expiry:** 365 days
* **Access Token Expiry:** 30 minutes

![Authentication step of Add Application with the token settings highlighted](https://mintcdn.com/draftable/8IbWba2lVwM9qcTl/images/Draftable-clean-images/clean-imanage-add-application-authentication.png?fit=max\&auto=format\&n=8IbWba2lVwM9qcTl\&q=85\&s=adf366a18f61f44936e93192c3689dc1)

**6. Choose who can use it**

Set **Allow access to** to **All Users**, or choose **Custom** to limit it to specific users. Then select **Settings**.

![Access step of Add Application with All Users selected](https://mintcdn.com/draftable/8IbWba2lVwM9qcTl/images/Draftable-clean-images/clean-imanage-add-application-access.png?fit=max\&auto=format\&n=8IbWba2lVwM9qcTl\&q=85\&s=6c2fedade01d3d87e9194fe320454f23)

**7. Check the communication port**

Make sure **Draftable Clean Communication Port** is **5044**, then select **Review**.

![Settings step of Add Application showing Draftable Clean Communication Port 5044](https://mintcdn.com/draftable/8IbWba2lVwM9qcTl/images/Draftable-clean-images/clean-imanage-add-application-port-5044.png?fit=max\&auto=format\&n=8IbWba2lVwM9qcTl\&q=85\&s=afba6c67c42d86a5acc7a5050077156f)

> [!WARNING]
>
> Leave this at 5044 if your organization uses the Draftable Clean Outlook add-in. The add-in always connects on port 5044.

**8. Finish**

Make sure **Enable application?** is set to **Yes**, check the details, then select **Finish**. The application is available to the users you chose straight away.

![Review step of Add Application for Draftable - Clean with the Finish button highlighted](https://mintcdn.com/draftable/8IbWba2lVwM9qcTl/images/Draftable-clean-images/clean-imanage-add-application-review.png?fit=max\&auto=format\&n=8IbWba2lVwM9qcTl\&q=85\&s=213294cfcca9cc0a8826dab10912250b)

## Part 3: Add the action to the right-click menus

Users won't see **Clean with Draftable** until you add it to the iManage web client menus.

**1. Open the Web Client settings**

In Control Center, under **Work Clients**, select **Web Client**.

![Web Client selected under Work Clients](https://mintcdn.com/draftable/YYRhIAITOwcjRPgo/images/using-draftable-legal-with-iManage/image-74.png?fit=max\&auto=format\&n=YYRhIAITOwcjRPgo\&q=85\&s=b445d55c0f256dae31256a3c898063b9)

**2. Open Context Menus**

Select the **Context Menus** tab. You'll see a **Documents** menu and a **Versions** menu.

![Context Menus tab showing the Documents and Versions menus](https://mintcdn.com/draftable/YYRhIAITOwcjRPgo/images/using-draftable-legal-with-iManage/image-75.png?fit=max\&auto=format\&n=YYRhIAITOwcjRPgo\&q=85\&s=b00417d6addbb51d099cb985b2c30304)

**3. Add the action to Documents**

Select the **Documents** menu so it is highlighted, then select **Add action** at the bottom of the menu.

![Add action at the bottom of the context menu](https://mintcdn.com/draftable/YYRhIAITOwcjRPgo/images/using-draftable-legal-with-iManage/image-78.png?fit=max\&auto=format\&n=YYRhIAITOwcjRPgo\&q=85\&s=4f99a95548489c1e5bf4ade5ef3dd25e)

Select **Clean with Draftable**.

**4. Position the action**

Drag **Clean with Draftable** to where you want it in the menu.

**5. Repeat for Versions and save**

Repeat these steps for the **Versions** menu, then select **Save**.

![Context Menus tab with Clean with Draftable in the Documents and Versions menus and the Save button highlighted](https://mintcdn.com/draftable/8IbWba2lVwM9qcTl/images/Draftable-clean-images/clean-imanage-context-menus-clean-with-draftable.png?fit=max\&auto=format\&n=8IbWba2lVwM9qcTl\&q=85\&s=a03c5c8874bbc951b8bf0e34ebbc7df2)

## Check that it works

**1. Make sure Draftable Clean is running**

With the default per-user installer, Draftable Clean must be open or running in the system tray. If it isn't running, **Clean with Draftable** does nothing and no message appears.

The machine-wide MSI includes a Windows service that handles this when the HTTP Listener Service is installed.

**2. Start the action**

In iManage Work, right-click one or more documents and select **Clean with Draftable**.

![iManage Work right-click menu with Clean with Draftable highlighted](https://mintcdn.com/draftable/8IbWba2lVwM9qcTl/images/Draftable-clean-images/clean-imanage-right-click-menu.png?fit=max\&auto=format\&n=8IbWba2lVwM9qcTl\&q=85\&s=e24c079b09ddd8d984f95f170985f81e)

**3. Allow the browser to open Draftable Clean**

Your browser asks whether to open Draftable Clean. Select **Open Draftable Clean**. To stop the prompt appearing again for that user and browser, tick **Always allow** first.

![Browser prompt asking to open Draftable Clean, with Open Draftable Clean highlighted](https://mintcdn.com/draftable/8IbWba2lVwM9qcTl/images/Draftable-clean-images/clean-browser-open-draftable-clean-prompt.png?fit=max\&auto=format\&n=8IbWba2lVwM9qcTl\&q=85\&s=163b456a14cb89b402403b6765184524)

**4. Sign in to iManage**

If Draftable Clean isn't already signed in to iManage, it asks you to sign in. Sign in with your usual iManage account. This happens the first time, and again after Draftable Clean restarts.

**5. Review the files**

Draftable Clean opens with the selected files, ready to scan and clean.

If something doesn't work, see [Troubleshooting: DMS integrations](https://help.draftable.com/hc/en-us/Draftable-Clean-articles/Troubleshooting-DMS-Integrations.md).


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