How to connect Salla to API2Cart?
This guide will show you how to connect your Salla store to API2Cart in just a few steps.
Step 1: Create an App
First, you need to register in the Salla Partner Center as a developer.
After registering, go to the My Apps page and create a new application.

Then, select Public App if you plan to publish your app on the Salla App Store. Alternatively, choose Private App if you want to install the app only on specific stores using a private link.
Next, fill in the basic information about the application.

In the APP Keys section, you need to choose a method for obtaining credentials (OAuth Mode).
In this guide, we will cover Easy Mode only.
For Easy Mode, you need to specify the Webhook URL that will receive webhooks containing the store credentials.
In the App Scope section, you need to configure the app's access permissions.
Step 2: Installing the Application
To install the application in the store, you need to prepare the installation URL. Specifically, the installation URL has the following format:
https://s.salla.sa/apps/install/{app-id}
Here, the app_id can be obtained from the application settings.
Then, the shop owner needs to visit this link in a browser where they've already logged into the store and confirm the app's installation.
Once installed, the app allows you to connect Salla to API2Cart by retrieving the necessary access credentials.
After the store owner confirms the app installation, you will receive a webhook containing the necessary credentials.
Step 3: Connect via API2Cart
After obtaining the Refresh Token, you can proceed to connect Salla to API2Cart.
The salla_client_id and salla_client_secret parameters can be found in the application's dashboard under the App Keys section.
Moreover, the salla_refresh_token parameter was obtained in Step 2 of this guide.
If you have any questions during the app creation process or notice any differences between the elements shown in this guide's screenshots and the actual interface, please refer to the official documentation of the platform.