Salla Developers
What are you building on Salla?
Salla is the commerce platform for tens of thousands of merchants across Saudi Arabia and the GCC. Build apps, storefront themes and integrations — Salla runs billing, tax and payouts. Pick a goal below; each path routes you to the exact APIs, tools and guides you need.
npm create @salla.sa/app
or just describe it to your AI editor — see the Partners MCP
Core concepts
Eight words do most of the work on this platform. Learn them once.
orders.read, products.write, and so on.What you can ship
Every one of these lists in a Salla store. Use it to pick your path.
| Type | Built on | Lists in |
|---|---|---|
| Public apps | Merchant & Partner APIs | App Store |
| Private apps | Merchant API + webhooks, OAuth | Unlisted — installed by link |
| Embedded apps | Embedded SDK | App Store — render inside the dashboard |
| Storefront themes | Twilight | Themes store |
| Custom reports | Report Builder | Merchant dashboard |
| Shipping & fulfilment apps | Shipment API + Salla AWB | App Store |
| Payment & subscription apps | Recurring Payments API | App Store |
| Communication apps | Communication Apps API | App Store |
Pick a path
Build an app publish to the Salla App Store
Build a storefront theme publish to the Themes store
twilight.json and the Twilight Engine
I need cart, checkout and customer state in JSThe Twilight SDK helpers for storefront behaviour
I want ready-made UI elementsFramework-free Twilight Web Components you can drop in and style
I want the full component packageThe versioned Component Bundle for production themes
Connect to Salla integrate an external system
Pulling Salla data into your own ERP, POS, CRM or site. You still register an app for OAuth, but you don't have to list it publicly.
First, get authenticatedRegister a private app, request scopes and complete the OAuth flow Products & inventoryList, create and update products, options, categories and stock Orders & fulfilmentRead orders, update status, and drive shipping and fulfilment CustomersCustomer records, groups and addresses via the Merchant API Shipments & labelsRegister as a carrier, create shipments and print AWBs Stay in syncSubscribe to webhooks so your system hears about every changeAutomate something react to store and app activity
Quickstart
The five-minute version for building an app. Everything here also works from the Partners MCP.
- Node.js 18 or newer
- A Salla Partners account — free to create
- A demo store to develop against, created from the portal
-
Install the CLI
npm i -g @salla.sa/cli -
Scaffold an app or a theme
salla app create my-app -
Develop with live webhook tunneling, pointed at your demo store
salla app serve -
Publish for review
salla app publish
The app lifecycle
Every app moves through the same seven stages — by hand, by CLI, or through the MCP. Pick a stage to see what it takes.
Partners MCP
Build apps from your AI editor
The Partners Agent Kit gives your AI editor two things: Skills — how Salla apps are built — and the Partners MCP, a live connection to the Partners portal. Describe an app task in plain language; the MCP carries it out on your account, showing you each change and waiting for your yes.
npx @salla.sa/agent-kit install
MCP server
- Register an app — public or private
- Set OAuth scopes & callback URL
- Subscribe to webhooks & ecommerce events
- Edit app settings & store listing
- Read install status & connected stores
- Run the review checklist & publish
Create a private app called Inventory Sync with the products and orders read scopes.
Subscribe it to order.created and order.status.updated, callback https://sync.acme.dev/webhooks.
Add products.write, then show me the OAuth install URL.
Run the review checklist and submit the app.
Works in Claude Code, Cursor, Codex and Copilot. Every write action is shown before it runs.
Read the Agent Kit guideFor experienced developers
The whole platform surface, in one list. Search it.
Core
Merchant APIOrders, products, customers, inventory, coupons, branches Webhooks60+ events, conditional delivery, signed payloads App Functions & Ecommerce EventsRun code on store events, no server API reference & PostmanEndpoint reference, OpenAPI spec, collectionStorefront — Twilight
Twilight EngineTwig templating, theme structure Twilight SDKCart, checkout, customer state in JS Twilight ComponentsFramework-free Web Components Component BundleThe full component package, versionedPartner APIs
Apps APIManage your app, its stores and scopes Shipment & FulfilmentRegister as a carrier, drive fulfilment Salla AWBAir waybills and shipping labels Recurring Payments APISubscriptions and scheduled billing Communication AppsSMS, WhatsApp, notification channelsNothing in the index matches that.
Concept markers — ° points at the docs root, needs a real deep link · ° deep link or fact borrowed from elsewhere, needs verifying. Strip before ship.
Full documentation on docs.salla.dev