Docs
Cloudinary

Cloudinary Integration

CozyCommerce uses Cloudinary for efficient image management, optimization, and delivery. This guide will help you set up Cloudinary in your store.

Overview

Cloudinary provides:

  • Image upload and storage
  • Automatic image optimization
  • Responsive images
  • Image transformations
  • CDN delivery

Step-by-Step Setup

1. Create a Cloudinary Account

  1. Visit Cloudinary's website (opens in a new tab) and sign up for a free account

2. Get Your API Credentials

After signing up, you will see a 'View API Key' button. Click it to copy the values. If you have already signed up, log in and navigate to Home > Dashboard to view your API key and other details.

  1. Go to your Dashboard
  2. look for the Account Details section
  3. Copy these values for your environment variables:
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME="your_cloud_name"
CLOUDINARY_API_KEY="your_api_key"
CLOUDINARY_API_SECRET="your_api_secret"
⚠️

Keep your API Secret secure and never expose it in client-side code. Only use it in server-side operations.

⚠️

Remember to regularly check your Cloudinary dashboard for usage statistics and potential issues.