A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cloudinary.com/documentation/node_quickstart below:

Cloudinary Node.js SDK Quick Start

Last updated: Apr-23-2025

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

Prerequisites 1. Set up and configure the SDK Install the SDK

In a terminal in your Node.js environment, run:

Set your API environment variable

In a terminal, set your CLOUDINARY_URL environment variable.

Copy the API environment variable format from the API Keys page of the Cloudinary Console Settings. Replace <your_api_key> and <your_api_secret> with your actual values. Your cloud name is already correctly included in the format.

Configure Cloudinary

Create a new file called index.js and copy and paste the following into this file:

2. Upload an image

Copy and paste this into index.js:

3. Get and use details of the image

Copy and paste this into index.js:

4. Transform the image

Copy and paste this into index.js:

5. Run your code

Copy and paste this into index.js to call the functions you just created:

Save your changes then run the script from the terminal:

You can see the image that has been uploaded to your Cloudinary storage by copying the secure_url that is returned in the upload response and pasting it in a browser.

You can use the returned image tag to display the image on your website. For now, copy and paste the URL to see the transformed image in the browser:

View the completed code

You can see the whole Node.js script in GitHub, and also in the code explorer below.

Code explorer: Full Node.js example

Here's the full Node.js script:

This code is also available in GitHub.

You can run it by opening it on Replit, forking it into your own account, and setting your API environment variable in Secrets.

Next steps

✔️ Feedback sent!

✖️   Error

Unfortunately there's been an error sending your feedback.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4