Connecting FedEx to Lava takes one-time setup inside the FedEx Developer Portal. FedEx only grants API access through portal projects, so you create a project for your own account, then hand its two keys to the connection flow. Expect about 10 minutes for test access; production access adds a FedEx account-number link and, for shipping labels, a FedEx review.
Prerequisites
A FedEx Developer Portal login at developer.fedex.com (free, separate from a fedex.com shipping login). To go to production you also need a 9-digit FedEx shipping account number.
Create a project
1. Sign up and create an organization
Go to developer.fedex.com and create a developer account. The portal walks you through creating an organization on the way; both are free.
2. Create the project
Open My Projects and choose Create New Project (the portal may label it
a product). Name it something you'll recognize, like Lava.
3. Select APIs
Pick the APIs your project can call. Select at least Ship, Rates &
Transit Times, Track, Address Validation, Pickup, and Location
Search. An API left out here returns FORBIDDEN.ERROR later even with valid
keys, and selecting everything is fine.
4. Copy the keys
The project overview shows a Test key tab with an API Key, a Secret Key, and a test shipping account number. Copy the API Key and Secret Key.
Test keys work against the FedEx sandbox: labels are samples, tracking events are simulated, and nothing bills. Use the test account number from this tab wherever a request body needs an account number.
Connect to Lava
1. Open Connected Services
In the Lava dashboard, go to Wallet → Connected Services and click FedEx. (In Lava Desktop, adding FedEx from the app picker prompts for the same keys; that screen stores production keys only, so connect test keys from the dashboard.)
2. Paste the keys
Choose Test key or Production key to match where the keys came from, then paste the API Key and Secret Key. Lava validates them against FedEx before saving and refreshes the short-lived access token for you from then on.
Go to production
When you're ready to create real shipments:
1. Link your FedEx account number
In the project's Production key tab, follow the prompts to link a valid 9-digit FedEx shipping account. Production keys are issued against that account, and shipping charges bill to it. If you don't ship with FedEx yet, opening a shipping account requires a credit card at fedex.com.
2. Complete certification for Ship, Address Validation, and Pickup
Two certification levels apply. The Ship API needs label certification: you submit test shipments from the sandbox and FedEx reviews the generated labels (the portal's production checklist walks through it). Address Validation and Pickup need Basic Certification: contact your FedEx support representative with your production API Key and the names of the APIs, then wait for confirmation that the key is enabled. Rates & Transit Times, Track, and Location Search require no certification.
3. Reconnect with the production keys
Connect FedEx again in Lava with the production API Key and Secret Key, this time choosing Production key.
Troubleshooting
FORBIDDEN.ERRORon one API while others work: that API family is missing from the project's API selection, or FedEx is still provisioning it. Edit the project's APIs in the portal and retry after a few minutes.- Credential exchange failed when connecting: the API Key or Secret Key was mistyped, or the environment choice doesn't match the tab the keys came from (test keys only work as Test key, production keys only as Production key).
- Responses marked
VIRTUAL.RESPONSE: expected on test keys; the sandbox returns canned data.
FedEx's own walkthrough lives at the FedEx getting-started guide.