Contentful App Integration
Last updated: Nov-06-2025
Overview
After installing the Contentful Cloudinary app, you can add Cloudinary assets to content entries directly in the Contentful editor:
Editors open the Media Library widget, a compact version of the Cloudinary Media Library, directly inside a Contentful content item to browse and select images and videos from Cloudinary.
Contentful stores the public IDs of the selected media, and developers can use those IDs in client applications to fetch images, videos or metadata from Cloudinary’s API.
Requirements
Before you begin, make sure you:
Have an active Cloudinary account.
Are logged into Contentful. Some of the steps below require logging in as an admin.
All setup steps and usage instructions assume you’re already logged in to the Contentful web app.
Installation and setup
An administrator can follow these steps to set up and configure the Cloudinary app within Contentful.
Install and configure the app
- Go to Apps > Installed apps.
- Click Configure next to the Cloudinary app.
- Provide your product environment's cloud name, API key, and API secret in the respective fields. TipFind these credentials on the API Keys page of the Console Settings.
- (Optional) Set Max number of files to limit how many individual files users can select in a single field.
- (Optional) Select the existing JSON fields you want to enable for Cloudinary integration.
- Click Install to finish the installation and save the configuration.
Set up JSON fields for Cloudinary content
By adding Cloudinary fields to your content types, you make it possible to attach Cloudinary images and videos whenever you create entries of those types.
In addition, you can optionally filter assets in Cloudinary based on values bound to fields in Contentful. For example, filter images by product ID so that when you enter a product ID in a Contentful field, only Cloudinary assets with matching metadata (like that product ID) appear for selection.
To set up a Cloudinary field:
- Go to the Content model tab.
- To create a new content type:
- Click Add field and select JSON object.
- Give the new field a meaningful name, then click Add and configure.
- From the Appearance section, select Cloudinary app.
- To edit an existing content type, click Edit for the content field you want to edit.
- Choose a Resource Type: Image, Video, or All.
- (Optional) Under Search Filter, define a Cloudinary search expression that can include JavaScript template literals bound to Contentful entry fields. This lets you dynamically filter assets.
For example,
metadata.sku=${entry.fields.sku.getValue{}} AND metadata.status:publishedfilters Cloudinary assets to show the SKU value from the Contentful SKU field, and only shows assets with the value for the metadata field Status as Published. - Click Confirm, then Save your changes to the content type.
Enable external references
To deliver Cloudinary's data using the Contentful GraphQL API you must first enable the Custom external references option.
To enable the Resolve content on delivery check box:
- Go to the Content model tab.
- Select a content type with a Cloudinary app field set up.
- On the field used with the Cloudinary app, click Edit. The field editor is displayed.
- In the Appearance section, select Cloudinary App.
- Select the Resolve content on delivery check box.
- Click Confirm.
- Save your changes for the field.
Use the Cloudinary app
As a content editor, you can use the Cloudinary app in Contentful to add images and videos to your entries, preview them, and make basic edits.
Add images and videos to entries
When you create or edit an entry that includes a Cloudinary field, you can attach images and videos directly from your Cloudinary account. You can insert either the original assets or apply transformation templates.
Transformation templates are preset configurations that let you adjust things like format, size, aspect ratio, and effects before inserting. Using a transformation template is a quick way to customize how an image or video looks or behaves without manually editing or coding transformations later.
To add Cloudinary images or videos:
- Go to the Content tab and either click Add entry or open an existing entry.
- Find the field that your administrator set up for Cloudinary content.
- Click the Select an Asset dropdown button to add images and videos.NoteIf you know that you want only images or only videos, you can select either Select an Image or Select a Video from the Select an Asset dropdown button to limit the selection.
- Click Sign In to authorize your Cloudinary account.
- To insert originals:
- To insert transformed images and/or videos:
- From the Media Library widget, double-click the asset to open the Download Options tab of its manage page.
- In this view, explore the available transformation templates.NoteIf you want to create transformation templates for images, see Studio for instructions. Administrators can also create transformation templates for both images and videos. See Named transformations for more details.
- Choose the template you want to use and click Insert next to it to add the transformed version to your entry.
Thumbnails of your selected images and videos will appear in the entry.
Preview images and videos
- In the entry, go to the Cloudinary image or video.
- Open the (3-dots) options menu at the top-right corner.
- Select Preview. A new browser tab opens displaying the selected image or video.
Edit images (Beta)
You can crop and resize Cloudinary images that you added to an entry, directly from the Contentful editor. You can also place text and image overlays on your images.
- In the entry, open the (3-dots) options menu on the asset.
- Select Edit. The Cloudinary editor opens.
- From here, you can crop, resize, and add image or text overlays.
Trim videos (Beta)
You can trim Cloudinary videos that you added to an entry, directly from the Contentful editor.
- In the entry, open the (3-dots) options menu on the video.
- Select Edit. The Cloudinary editor opens.
- From here, you can trim the video to your desired length.
FAQ
Why don’t I see a content type with a JSON Object field?
Cloudinary stores data in a Contentful entry as JSON. To associate Cloudinary assets with a content type, update that content type to include a new field of type JSON Object. Learn more about the JSON Object field type in Contentful's Add a field to a content type and Fields documenation.
Why does the entry editor show Field value is incompatible?
This happens when the JSON Object field already contains data not generated by the Cloudinary app. To fix this:
Confirm you selected the correct field in the app configuration for use with Cloudinary.
Ensure you no longer need the existing data in that field.
Select I want to override the value using the App. to initialize the field with an empty selection.
After this, you can add media to your entry.
If you need to inspect the raw field value, deselect the field in the Cloudinary app configuration. The editor will then display the default JSON view for object fields.








