Edit in GitHubLog an issue

Quickstart Guide

This guide explains how to start using the SDK in your own application.

Step 1: Get an API Key

Create a new project in the Developer Console. Select "Add an API" > "Creative Cloud Everywhere".

Then, choose "Single-Page App" and register your domain in the "Redirect URI Patterns" and "Default Redirect URI" fields. You can read more here.

Step 2: Embed SDK

The latest version of the SDK is available on Adobe's CDN:

Copied to your clipboard
var CDN_URL = "https://sdk.cc-embed.adobe.com/v1/CCEverywhere.js";

You can read the changelog to understand what updates are being made.

Load via script tag

Copied to your clipboard
1<script src="https://sdk.cc-embed.adobe.com/v1/CCEverywhere.js"></script>
2<script>
3 (() => {
4 if (!window.CCEverywhere) {
5 return;
6 }
7 const ccEverywhere = window.CCEverywhere.initialize();
8 })();
9</script>

Using import

Copied to your clipboard
1await import(CDN_URL);
2const ccEverywhere = window.CCEverywhere.initialize();

Dynamic script

Copied to your clipboard
1((document, url) => {
2 const script = document.createElement("script");
3 script.src = url;
4 script.onload = () => {
5 if (!window.CCEverywhere) {
6 return;
7 }
8 const ccEverywhere = window.CCEverywhere.initialize();
9 };
10 document.body.appendChild(script);
11 })(document, CDN_URL);

Step 3: Initialize the SDK

The SDK should only be initialized once each page. To initialize the SDK, pass the default method initialize():

  • CLIENT_ID (string): API key from Console
  • APP_NAME (string): Name of the Express folder created for end users of your integration
  • REDIRECT_URI (string): Specify the redirect URI you registered for the project in Developer Console
Copied to your clipboard
1(() => {
2 if (!window.CCEverywhere) {
3 return;
4 }
5 const ccEverywhere = window.CCEverywhere.initialize({
6 clientId: <CLIENT_ID>,
7 appName: <APP_NAME>,
8 appVersion: { major: 1, minor: 0 },
9 platformCategory: 'web',
10 redirectUri: <REDIRECT_URI>
11 });
12})();

This returns a CCEverywhere Class object, with four methods:

  1. openQuickAction(): Quick Actions Component
  2. createDesign(): Adobe Express Editor Component
  3. editDesign(): Adobe Express Editor Component
  4. exchangeAuthCodeForToken(): Authorization

Step 4: Exchange Access Token

Note: To set up a local server, refer to the local development set-up guide

After a user logs in, they are redirected back to the designated redirect URL with an authorization code. At this redirect URL is hit, call the following method to exchange that code for an access token:

Copied to your clipboard
ccEverywhere.exchangeAuthCodeForToken();

The returned authorization code is exchanged for an access token, which is saved for future requests to the SDK during this session.

Next Steps: Explore the SDK

The Adobe Create Embed SDK can be initialized with a customized locale. The guides along with the SDK references can help you start working with the SDK in a way that best suits your needs.

Express Editor Component

When the editor first appears in a modal, the user will be asked to either log in, or create a Adobe Express account. Once logged in, users can access Express's huge template and asset library and start creating in a new blank project. The editor can also be spun up taking an existing project ID as input, and users can continue working on a project within the editor.

Quick Actions Editor Component

Users must select the desired Quick Action (QA) so the corresponding QA editor is spun up. Within the QA Editor, users can browse their filesystem for an asset, and then perform the selected QA. They can download the modified asset to their computer, or further customize the modified asset in an Adobe Express editor.

  • Privacy
  • Terms of Use
  • Do not sell my personal information
  • AdChoices
Copyright © 2022 Adobe. All rights reserved.