Adobe Stock Integration
To get access to countless media assets for use in your store, integrate Adobe Stock with Commerce.
The Adobe Stock service provides businesses with access to millions of high-quality, curated, royalty-free photos, vectors, illustrations, videos, templates, and 3D assets for all their creative projects. Commerce users are able to quickly find, preview, and license Adobe Stock assets. Users can also save them to the media storage, all without leaving the Admin workspace.
Prerequisites
This integration requires:
- An Adobe Developer account
- Adobe Commerce or Magento Open Source, 2.3.4 or later
Licensing Adobe Stock images requires:
- An Adobe account
- A paid Adobe Stock plan associated with the account
Integrate Commerce and Adobe Stock
Configuring the Adobe Stock integration for Adobe Commerce is a two-step process:
- Create an adobe.developer integration to generate an API Key
- Configure the Adobe Stock integration in the Commerce Admin
Create an Adobe Developer integration
-
Navigate to the Adobe Developer Console.
-
Under Quick Start, click Create new project.
-
In the Project overview block, click Add API.
-
Select Adobe Stock from the integrations list and click Next.
-
Select the OAuth 2.0 Web App.
-
Specify the redirect URI.
The default redirect URI is in the form
${HOST}/${ADMIN_URI}/adobe_ims/oauth/callback/
, such ashttps://store.myshop.com/admin_hgkq1l/adobe_ims/oauth/callback/
, where:${HOST}
is your Commerce fully qualified domain name (for example,https://store.myshop.com
).${ADMIN_URI}
is your Commerce Admin URI (such asadmin_hgkq1l
), which can be retrieved by runningmagento info:adminuri
.
-
Specify the Redirect URI pattern, which is the same as your redirect URI with two differences:
- Any periods (
.
) must be escaped with two backslashes (\\
). - Add
.*
to the end of the pattern.
Using the example from the previous default redirect URI, it would be
https://store\\.myshop\\.com/admin_hgkq1l/adobe_ims/oauth/callback/.*
. - Any periods (
-
Click Next.
-
Review the available scopes and click Save configured API.
-
On the page that follows, copy your Client ID (API key) and Client secret.
This information is used in steps of the next section.
Configure the Adobe Stock integration
To set the system configuration in your Commerce Admin, use the API Key and Client secret generated in the previous section.
-
On the Admin sidebar, go to Stores > Settings > Configuration.
-
In the left panel, expand Advanced and choose System.
-
Expand Adobe Stock Integration and do the following:
-
Set Enabled Adobe Stock to
Yes
. -
Enter your API Key (Client ID).
-
Enter your Client Secret.
-
Click Test Connection to validate your keys.
img-md w-600 modal-image Give the validation a few seconds. If your credentials are valid, you should see a green Connection Successful! message.
-
-
When complete, click Save Config.