# FedEx Web Services Account Integration

## Overview

[FedEx](https://www.fedex.com/) is a global logistics company that offers express shipping, freight, and supply chain solutions through a vast network. In this article, you will learn how to integrate FedEx with Shipbridge using the **FedEx** **Web Services** to [Calculate Rates](https://descartessystems.aha.io/pages/7630855055954070628), [Print Shipping Labels](https://descartessystems.aha.io/pages/7630854129237682056), and receive tracking details in real time.

FedEx has announced the retirement of its SOAP-based [Web Services](https://www.fedex.com/en-us/developer/web-services.html), including those for Tracking, Address Validation, and Postal Code Validation, and is transitioning to a RESTful API connection instead. You will no longer be able to use FedEx APIs with an authentication **API Key** and **Password**. Instead, you will be required to migrate your connection to the new OAuth model and update your credentials to a **Client ID** and **Secret**. You must ensure that you are running Shipbridge **v6.0.9.5** or higher and configure the integration with the new method described in this article.

## Prerequisites

Before you can use the **FedEx Web Services** through Shipbridge, you must complete the following requirements.

- Download the latest Shipbridge version from the [Sellercloud Support Portal](https://support.sellercloud.com/Applications/Applications.aspx).
- If you don’t have a FedEx shipping account, you must first [create one](https://www.fedex.com/register/contact). Next, you must obtain your OAuth credentials. There are two ways you can do this:
  - _(Recommended)_ Register through Shipbridge to obtain your **Client ID** and **Secret**. Follow the instructions outlined in the section [below](https://help.sellercloud.com/sellercloud-knowledge-base/applications/shipbridge/fedex/fedex-web-services-account-integration~7630858788640690072#I_Do_Not_Have_OAuth_Credentials).
  - Register on the [FedEx Developer Portal](https://developer.fedex.com/) to obtain your **Client ID** and **Secret**. For detailed guidance and support, refer to the [FedEx Developer Resource Center](https://www.fedex.com/en-us/developer.html).
  
  **Parent Credentials** must be enabled for this workflow! For Shipbridge users, you can enable them by navigating to **Menu** \> **Options** \> **Admin.** Open a ticket with [Sellercloud Support](https://descartessystems.aha.io/pages/7630831494839563427) for assistance.

## Configure FedEx Web Services in Shipbridge

Configuring **FedEx Web Services** in Shipbridge is a simple and seamless process.

### I Do Not Have OAuth Credentials

To obtain your OAuth credentials ( **Client ID** and **Secret**) through Shipbridge:

1. Go to **Menu** \> **Options** \> **Carriers** \> **FedEx.**
2. Select **Use FedEx Web Services**.
3. Check the **Migrate to FedEx Shipping API** box **.**
4. Click **Register**. If you do not see the register button, clear any existing entries in the fields to the left.

5. Go through the **FedEx License Agreement** and check the **I have read and agreed to the Terms and Conditions** box. Click **Continue**.

6. Fill in your **Account Number**, **Street, City**, **State**, **Postal Code**, **Country**, and **First Name**.

7. Select your preferred **Validation Method**:
   1. **PIN Validation** \- You will receive a PIN through one of three channels associated with your account. Select **Email**, **Call**, or **SMS** from the dropdown.
   2. **Invoice Validation** \- Specify details of an invoice that is no more than 90 days old to verify your identity.
   3. **FedEx Call** \- You need to call the provided number before you can continue with the registration.
8. Click **Register**. You will be prompted to provide a code if **PIN Validation** was selected.

### I Have OAuth Credentials

If you already have [OAuth credentials](https://help.sellercloud.com/sellercloud-knowledge-base/applications/shipbridge/fedex/fedex-web-services-account-integration~7630858788640690072#Prerequisites) ( **Client ID** and **Secret**) and simply want to update your configuration:

1. Go to **Menu** \> **Options** \> **Carriers** \> **FedEx.**
2. Select **Use FedEx Web Services**.
3. Check the **Migrate to FedEx Shipping API** box **.**
4. Replace the **API Key** and **Password** with your **Client ID** and **Client Secret**.
5. Test the credentials to validate the connection and click **Save**.

### Per-Company Configuration

If you are using different credentials for each company, you must also update the per-company configuration to the new OAuth method. To update your credentials per company:

1. Go to **Menu** \> **Options** \> **Carriers** \> **FedEx.**
2. Ensure that **Use FedEx Web Services** and **Migrate to FedEx Shipping API** are enabled **.**
3. Click **Per-company configuration**.
4. Locate your desired company and click **Edit**.
5. Update the **API Key** and **Password** fields with your **Client ID** and **Client Secret**.

Test the credentials to validate the connection and click **Save**.

## Configure FedEx Web Services in Sellercloud

To connect your FedEx account and calculate rates in Sellercloud, you must configure your company's [Shipping API](https://descartessystems.aha.io/pages/7630844621139336229) settings. To do that:

1. Go to [Company Settings](https://descartessystems.aha.io/pages/7630848954242562863).
2. **Toolbox** \> **Shipping >** **Shipping API Settings** > **Edit**.
3. Enable **FedEx** in the **General** panel.
4. Next, select the **Use parent credentials** checkbox in the **FedEx Rate & Shipping API** panel.

5. Enter your [OAuth credentials](https://help.sellercloud.com/sellercloud-knowledge-base/applications/shipbridge/fedex/fedex-web-services-account-integration~7630858788640690072#Prerequisites).
6. Click **Save**.

You can validate the connection by using the available actions:

- **Test FedEx Credentials** (for [Address Validation](https://descartessystems.aha.io/pages/7630854215067121956))
- **Test FedEx Rate & Shipping Credentials**

[Back to top](https://help.sellercloud.com/sellercloud-knowledge-base/applications/shipbridge/fedex/fedex-web-services-account-integration~7630858788640690072#top)
