How do i connect strapi to cloudinary

Hello @Luganda1

Quite a few versions ago we changed the setup and configuration of the upload providers to file based instead of through the admin panel.

Each provider has a README file that explains where and how to configure Strapi to use them, for cloudinary see: strapi/README.md at master · strapi/strapi · GitHub

The short answer is you need to create the following file: ./config/plugins.js

With the following content:

module.exports = ({ env }) => ({
  // ...
  upload: {
    provider: 'cloudinary',
    providerOptions: {
      cloud_name: env('CLOUDINARY_NAME'),
      api_key: env('CLOUDINARY_KEY'),
      api_secret: env('CLOUDINARY_SECRET'),
    },
  },
  // ...
});

Then in Heroku set those environment variables:

  • CLOUDINARY_NAME
  • CLOUDINARY_KEY
  • CLOUDINARY_SECRET

This can be done via their CLI tool or inside their web interface.