---
schema_version: "1"
id: 8bc85e5ec2981cdcf32d05bcfa1b3048fa418f979430b867f8bce01387287683
title: Upgrading and Migrating Slack Connector to Version 2.x
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/slack-connector/latest/slack-connector-upgrade-migrate.md
canonical_url: https://docs.mulesoft.com/slack-connector/latest/slack-connector-upgrade-migrate
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 2e7ed6b46e9bb0a29a585e884e803aa6f2ac8af1c204e73086992e46e238bd4d
description: MuleSoft Documentation Site
release: "2.0"
latest: true
---
---
product: Slack Connector
version: 2.0
is-latest-version: true
---

# Upgrading and Migrating Slack Connector to Version 2.x

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Upgrade Anypoint Connector for Slack (Slack Connector) to version 2.x.

## Supported Upgrade Paths

<table><colgroup><col> <col></colgroup><thead><tr><th>From Version</th><th>To Version</th></tr></thead><tbody><tr><td><div><div><p>1.0</p></div></div></td><td><div><div><p>2.x</p></div></div></td></tr></tbody></table>

## Changes in This Release

This release contains the following changes:

- This connector no longer has the **Upload File** operation because the Slack `files.upload` API
  method is deprecated. For more information, refer to the
  [Slack API documentation](https://docs.slack.dev/reference/methods/files.upload/).

- To upload files, this connector now includes the new **Get upload url** and **Complete Upload
  External** operations.

  For more information about the operations, refer to
  [Get Upload URL](https://docs.mulesoft.com/slack-connector/latest/slack-connector-reference#GetFilesUploadUrl) and
  [Complete Upload External](https://docs.mulesoft.com/slack-connector/latest/slack-connector-reference#CreateFilesCompleteuploadExternal).

  For examples about how to use these operations, refer to
  [Upload a File to a Slack Channel (Using File Path)](https://docs.mulesoft.com/slack-connector/latest/slack-connector-examples#upload-file-to-channel)
  and
  [Upload File Text Content to a Slack Channel](https://docs.mulesoft.com/slack-connector/latest/slack-connector-examples#upload-file-text-content-to-channel).

- In the Slack Connector configuration window, the **TLS** tab is renamed to the **Security** tab.

## Upgrade Prerequisites

Before you perform the upgrade, create a backup of your files, data, and configurations in case you
need to restore to them.

## Upgrade Steps

Follow these steps to perform the upgrade:

1.  In Anypoint Studio, create a Mule project.

2.  In **Mule Palette**, click **Search in Exchange**.

3.  In **Add Dependencies to Project**, enter `slack` in the search field.

4.  In **Available modules**, select **Slack** and click **Add**.

5.  Click **Finish**.

6.  Verify that the Slack Connector dependency version is 2.x in the `pom.xml` file in the Mule
    project.

Studio upgrades the connector automatically.

### Verify the Upgrade

After you install the latest version of the connector, verify the upgrade:

1.  In Studio, verify that there are no errors in the **Problems** or **Console** views.

2.  Verify that there are no problems in the project `pom.xml` file.

3.  Test the connection to verify that the operations work.

### Reverting the Upgrade

If it is necessary to revert to the previous version of Slack Connector, change the mule-slack
dependency version in the project’s `pom.xml` file to the previous version.

You must update the project’s `pom.xml` file in Anypoint Studio.

## See Also

- [Introduction to Anypoint Connectors](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors)

- [Salesforce Help](https://help.salesforce.com)
