SDK Reference
IMPORTANT: Deprecation Warning
We are no longer approving integrations using using SDK V1, V2, or V3
V1 and V2 are deprecated and V3 will be deprecated in 2024.
This is the main API for accessing all Adobe Express Embed SDK components. The initialize()
method takes HostInfo and an optional ConfigParams, and returns a CCEverywhere object.
initialize()
The default method initialize()
is the API used to initialize the SDK. Make sure to call it only once a page.
Copied to your clipboard// after loading the SDK into the windowwindow.CCEverywhere.initialize(/* HostInfo */{clientId: YOUR_CLIENT_ID,appName: YOUR_PROJECT_NAME,appVersion: { major: 1, minor: 0 },platformCategory: 'web',},/* ConfigParams (optional) */{locale: 'en_US',});
HostInfo
Property | Type | Description |
---|---|---|
clientId | string | Your API Key |
appName | string | Name of project folder created in user's Adobe Express account |
appVersion | { major: number, minor: number, patch?: number} | Your app version |
platformCategory | 'web' | Specify host app platform |
ConfigParams
Property | Type | Description |
---|---|---|
locale | string | Language settings for SDK components |
CCEverywhere
The CCEverywhere object is the object returned when the SDK is initialized.
As of today, it exposes 4 methods:
openQuickAction()
: Quick actions componentcreateDesign()
: Full editor componenteditDesign()
: Full editor component