Medusa plugins
C

Cloudinary

A Medusa plugin to use Cloudinary as a file storage provider. Seamlessly upload, retrieve, and manage media files in your Medusa store using Cloudinary.

Need customizations for this plugin?

Get in touch
npm install @tsc_tech/medusa-plugin-cloudinary
Category
other
Built by
tsc_tech
Type
unknown
Last updated
4 months ago
Monthly downloads
353

Compatibility

This starter is compatible with versions >= 2.4.0 of .


Medusa File Cloudinary Plugin

Easily integrate Cloudinary as a file storage provider in your Medusa store.
This plugin enables seamless upload, retrieval, and management of images and other media files using Cloudinary's robust cloud infrastructure, directly from your Medusa backend.

Installation

Install the plugin in your Medusa project:

yarn add @tsc_tech/medusa-plugin-cloudinary
# or
npm install @tsc_tech/medusa-plugin-cloudinary

Configuration

Step 1: Update Medusa Configuration

Modify your (usually found in your Medusa project's root or under ) to register the plugin as a file provider:

{
resolve: "@medusajs/medusa/file",
options: {
providers: [
{
resolve: "@tsc_tech/medusa-plugin-cloudinary/providers/file-cloudinary",
id: "cloudinary",
options: {
apiKey: process.env.CLOUDINARY_API_KEY,
apiSecret: process.env.CLOUDINARY_API_SECRET,
cloudName: process.env.CLOUDINARY_CLOUD_NAME,
folderName: "medusa", // optional, defaults to root
secure: true, // optional, defaults to true
},
},
],
},
},

Step 2: Set Environment Variables

Add the following environment variables to your file:

CLOUDINARY_API_KEY=your_cloudinary_api_key
CLOUDINARY_API_SECRET=your_cloudinary_api_secret
CLOUDINARY_CLOUD_NAME=your_cloudinary_cloud_name

You can find these credentials in your Cloudinary dashboard.


Getting Started

Visit the Quickstart Guide to set up a server.

Visit the Plugins documentation to learn more about plugins and how to create them.

Visit the Docs to learn more about our system requirements.

What is Medusa

Medusa is a set of commerce modules and tools that allow you to build rich, reliable, and performant commerce applications without reinventing core commerce logic. The modules can be customized and used to build advanced ecommerce stores, marketplaces, or any product that needs foundational commerce primitives. All modules are open-source and freely available on npm.

Learn more about Medusa's architecture and commerce modules in the Docs.

Community & Contributions

The community and core team are available in GitHub Discussions, where you can ask for support, discuss roadmap, and share ideas.

Join our Discord server to meet other community members.

Other channels