Image & Video APIs

JavaScript quick start

Last updated: Dec-17-2025

This quick start lets you get an end-to-end implementation up and running using the JavaScript SDK in 5 minutes or less.

Notes
  • This quick start is designed for quick onboarding. It doesn't necessarily employ coding best practices and the code you create here isn't intended for production.
  • If you aren't familiar with Cloudinary, you may want to first take a look at the Developer Kickstart for a hands-on, step-by-step introduction to Cloudinary features.

    You may also find our Glossary helpful to understand Cloudinary-specific terminology.

1. Set up and configure the SDK

Install the package

Install the @cloudinary/url-gen package using the NPM package manager:

Tip
If you prefer not to use a bundler, you can import the SDK directly from a CDN. See CDN import for details.

Tips: