Third-Party Images
Setup Adobe Stock
12min
overview & purpose adobe stock is a stock photography service provided by adobe it provides designers and businesses with access to millions of high quality curated and royalty free photos and vector graphics for all kinds of creative projects its integration into your onprintshop solution provides your customers, direct access to adobe stock’s services right in the designer studio for quick and easy customization of product design save your customers' time by purchasing the images separately and using them in the designer studio your customers can purchase high quality images from within the designer studio itself and use them instantly! for this type of integration, you will need several tokens (client id, client secret id, and more) and began each api session by exchanging the access token for enterprise organizations, you will need json web token (jwt) that encapsulated your credentials and began each session by exchanging the jwt for an access token the jwt encodes all the identity and must be signed with the private key that is associated with a public key certificate this article walks you through the steps to set up a standard and enterprise account integration standard account integration step 1 sign in to create a new integration step 1 sign in to create a new integration the first and foremost step is to sign in to the adobe i/o console sign in to the adobe i/o and go to the console from the home page, create a new project on the project page, click on the edit project button from the top right corner enter the name of your app and give a brief description about the same and then save in the next step, choose add api option to access adobe services and products via a rest api subscribe to an entitled product, in this case, filter the product by selecting creative cloud and then choosing adobe stock click on the next to proceed step 2 create a new integration step 2 create a new integration enter your integration details such as platform and redirect uri platform select oauth 2 0 web as the platform default redirects uri enter the redirect uri in the format https //\<yourdomainname> com/external service/adobestock/adobestock callback php redirect uri pattern enter the redirect uri in the format https //wwwdomainname\\\com example https //wwwonprintshop\\\com click on the next and then, click on the save configured api button step 3 get client credentials step 3 get client credentials the next screen will provide you the client id i e the api key and client secret key click to copy the credentials and move forward with the integration in admin panel step 4 configuration into the admin panel step 4 configuration into the admin panel follow the below steps to generate the access token and configure the client credentials into the admin panel on the admin panel, go to the admin >> store configuration >> external service setting >> image library tab >> adobe stock app name enter the saved client id from step 3 client id and client secret environment choose environment as standard click on the save now, click on the generate token button click on login to creative cloud and enter your adobe i/o credentials to log in this will generate the access token enter the adobe stock image price per credit in the textbox given this will add the price to the customer’s order total the price will appear at the designer studio in the following manner – after entering all the information, again click on the save button, thus allowing your customers to use adobe stock images in their design enterprise account integration the enterprise account integration follows a different approach you will have to connect with the adobe stock support team and they will guide you to gather the following information – client id, client secret key, technical account id, and organization id after getting the above details you can follow the steps shown in " https //www adobe io/authentication/auth methods html#!adobedocs/adobeio auth/master/authenticationoverview/serviceaccountintegration md https //www adobe io/authentication/auth methods html#!adobedocs/adobeio auth/master/authenticationoverview/serviceaccountintegration md follow the steps to create a public key and configure an api integration, later on, check with the connection at the admin panel feed all the data gathered from adobe stock under the environment – enterprise click on the generate token button to generate the access token and save the details