Skip to content
This repository has been archived by the owner on Dec 11, 2021. It is now read-only.

Latest commit

 

History

History
27 lines (24 loc) · 511 Bytes

how-to-setup-strapi-with-cloudinary.md

File metadata and controls

27 lines (24 loc) · 511 Bytes

How to Setup Strapi with Cloudinary

yarn add strapi-provider-upload-cloudinary graphql
touch config/plugins.js
// ./config/plugins.js
module.exports = ({ env }) => ({
  upload: {
    provider: "cloudinary",
    providerOptions: {
      cloud_name: env("CLOUDINARY_NAME"),
      api_key: env("CLOUDINARY_KEY"),
      api_secret: env("CLOUDINARY_SECRET"),
    },
  }
});
# .env
CLOUDINARY_NAME = cloudinary-name
CLOUDINARY_KEY = cloudinary-key
CLOUDINARY_SECRET = cloudinary-secret