Cloudinary App Installation Guide

Cloudinary is an assets management tool for websites and mobile applications covering everything from uploading, storage, optimization, and delivery.

Contentstack Marketplace lets you install the Cloudinary application and use it within your stack to refer media files from Cloudinary.

Prerequisites

This step-by-step guide explains how to install and configure Cloudinary within your stack.

Steps for Execution

  1. Get your credentials from Cloudinary
  2. Install and Configure Cloudinary in Contentstack Marketplace
  3. Use Cloudinary within your Stack
  1. Get your credentials from Cloudinary

    To get your Cloud Name and API Key from Cloudinary, follow the steps given below:

    1. Log in to your Cloudinary account.
    2. On the resulting Dashboard page, under Account Details, you should see your Cloudinary Cloud Name and API Key
    3. Cloudinary-Cloud_Name_API_Key.png
    4. Save the Cloud Name and API Key; you will need it while configuring your Cloudinary app in Contentstack.
  2. Install and Configure Cloudinary in Contentstack Marketplace

    Follow the steps to install the application in Contentstack.

    1. Log in to your Contentstack account.
    2. In the left-hand side primary navigation, click the Marketplace icon to go to the Marketplace. 
    3. Cloudinary-Marketplace_Icon.png
    4. Within the Marketplace, you will be able to see all the apps available; hover over the Cloudinary app and click the Install App button. 
    5. Cloudinary-Install_App.png
    6. Select the stack for which you want to install the Cloudinary app, accept the Terms of Service and Privacy Policy, and click the Install button. 
    7. Cloudinary-Select_Stack.png
    8. Enter the Cloudinary Cloud Name and the API Key on the resulting Configuration page and click the Save button. 
    9. Cloudinary-Config_page.png
    10. Click the Open Stack button to start using the Cloudinary application.
  3. Use Cloudinary within your Stack

    To use the Cloudinary application within an entry of your stack, you can either use a Custom field or a JSON RTE field.

    Follow the steps given below to use the Cloudinary application using the Custom field:

    1. Go to your stack and click the Content Models icon in the left navigation panel, and click the + New Content Type button.
    2. Create a content type by adding relevant details as displayed below: 
    3. Cloudinary-Content_Type.png
    4. In the Content Type Builder page, add a Custom field in your content type by clicking the Insert a field link represented by a + sign.
    5. Under Select Extension/App, select Cloudinary and click the Proceed button. 
    6. Cloudinary-Select_Extension_or_App.png
    7. After adding the app, click Save or Save and Close to save your changes. 
    8. Cloudinary-Save_Custom_Field.png
    9. To use the Cloudinary app, create an entry for this content type, and you will see the Cloudinary custom field on your entry page as shown below: 
    10. Cloudinary-Custom_Field_Entry.png
    11. Click the + Choose Asset(s) button to select assets from your Cloudinary account and then click the Insert button to add them to your entry. 
    12. Cloudinary-Media_Library.png

      The selected asset(s) gets displayed in the custom field: 

      Cloudinary-Custom_Field_-Image.png
    13. Hover over the image to delete or preview it.
      1. Click the Delete icon to delete the image.
      2. Click the Preview icon to view the image in a new tab.
      3. Cloudinary-Custom-Delete-Preview.png

    14. The assets you select are referenced within your entry. You can add more assets or simply save and publish your entry as it is.

    Follow the steps given below to use the Cloudinary application using the JSON RTE field:

    1. Go to your stack and click the Content Models icon in the left navigation panel, and click the + New Content Type button.
    2. Create a content type by adding relevant details as displayed below: 
    3. Cloudinary-Content_Type.png
    4. In the Content Type Builder page, add JSON Rich Text Editor in your content type by clicking the Insert a field link represented by a + sign. 
    5. Cloudinary-JSON_RTE_Field.png
    6. To add the Cloudinary plugin in JSON RTE, click the Properties icon of JSON RTE, and under Select JSON RTE Plugin(s), choose the Cloudinary app, and then click the Add Plugin(s) button. 
    7. Cloudinary-Select_Plugin.png
    8. After adding the plugin, click Save or Save and Close to save your changes. 
    9. Cloudinary-Save_JSON_RTE_Field.png
    10. To use the Cloudinary app as JSON RTE plugin, create an entry for this content type, and you will see the Cloudinary app icon in the JSON RTE field on your entry page as shown below: 
    11. Cloudinary-JSON_RTE_Field_Entry.png
    12. Click the Cloudinary app icon to open the selector page or Media Library.
    13. Choose one or more media files from the Media Library and then click the Insert button
    14. Cloudinary-Media_Library.png

      The selected asset(s) gets displayed in the JSON RTE editor: 

      Cloudinary-JSON_RTE_Field-Image.png
    15. You can resize the image by adjusting the size from the corners.
    16. Hover over the image to view, edit or delete it.
      1. Click the View icon to view the image.
      2. Click the Edit icon to edit the image. Make the necessary changes and click the Save button.
      3. Click the Delete icon to delete the selected image.
    17. Cloudinary-JSON_RTE-View_Edit_Delete.png
    18. To add inline text to the selected image, follow the steps below:
      1. Drag and resize the image as required.
      2. Cloudinary-JSON_RTE-gif-Resize.gif
      3. Click the Edit button, choose the right or left alignment, check the Inline Asset checkbox, and then click the Save button.
      4. Cloudinary-JSON_RTE_Field-ImageEdit-Inline.png
      5. Add the required text next to the image.
    19. Cloudinary-JSON_RTE_Field-Image-Inline.png

      The assets you select are referenced within your entry. You can add more assets or simply save and publish your entry as it is.

Was this article helpful?

Thanks for your feedbackSmile-icon

More articles in "Digital Asset Management"

On This Page

^