We'll learn how to integrate Cloudinary into our Strapi application so that we can upload image assets in our Strapi dashboard and the resulting image will be stored in Cloudinary and ready for use in our application.
We'll create a config/plugins.js
file and paste in some config code that sets Cloudinary as the provider with cloud_name
, api_key
, and api_secret
.
Then we'll install the Cloudinary provider plugin with npm install @strapi/provider-upload-cloudinary
, add the middleware security that lets us use Cloudinary, and finally add Cloudinary credentials to our .env
file.