Install the Package
Installpayload-cloudinary using your preferred package manager:
Peer Dependencies
This plugin requires the following peer dependencies:payload^2.0.0typescript^5.0.0
Most Payload CMS projects will already have these dependencies installed. The plugin will automatically use your existing Payload and TypeScript installations.
Node Version Requirement
Ensure you’re running Node.js version 18.0.0 or higher:Configure Environment Variables
Create or update your.env file with your Cloudinary credentials:
.env
Getting Your Cloudinary Credentials
You can find your Cloudinary credentials in your Cloudinary Console Dashboard:- Log in to your Cloudinary account
- Navigate to the Dashboard
- Your Cloud Name, API Key, and API Secret are displayed in the “Account Details” section
TypeScript Configuration
This plugin is built with TypeScript and includes full type definitions. No additional TypeScript configuration is required.Next Steps
Quickstart Guide
Get up and running with a basic configuration
Configuration
Explore all available configuration options