> ## Documentation Index
> Fetch the complete documentation index at: https://cloudinary.com/documentation/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure the Node.js SDK (video tutorial)

[githublink]: https://github.com/cloudinary-community/cloudinary-examples/tree/main/examples/node-transformations-effects

## Overview

Learn how to install and configure the [Cloudinary Node.js SDK](node_integration) in your Node.js environment. 

## Video tutorial

  This video is brought to you by Cloudinary's video player - embed your own!Use the controls to set the playback speed, navigate to chapters of interest and select subtitles in your preferred language.

> **TIP**: :title=View the code

You can find the code from this tutorial in [GitHub][githublink].
## Tutorial contents
This tutorial presents the following topics. Click a timestamp to jump to that part of the video.### The Cloudinary Node.js SDK
{table:class=tutorial-bullets}|  | 
| --- | --- |
|{videotime:id=media :min=0 :sec=05 :player=cld} | The [Cloudinary Node.js SDK](node_integration) provides image and video upload, transformation, optimization, and delivery capabilities that you can implement using code that integrates seamlessly with your existing Node.js application.
|

### Install the Node.js SDK
{table:class=tutorial-bullets}|  | 
| --- | --- |
|{videotime:id=media :min=0 :sec=13 :player=cld} | To install the Node.js SDK, in a terminal run:
|

```
npm install cloudinary
```

### Import Cloudinary into your project
{table:class=tutorial-bullets}|  | 
| --- | --- |
|{videotime:id=media :min=0 :sec=29 :player=cld} | To import Cloudinary into your project use:
|

```nodejs
const cloudinary = require('cloudinary').v2;
```

### Configure Cloudinary
{table:class=tutorial-bullets}|  | 
| --- | --- |
|{videotime:id=media :min=0 :sec=51 :player=cld} | To configure the SDK for your product environment, you can include your cloud name, API key and API secret in the `config`, in addition to other [configuration parameters](cloudinary_sdks#configuration_parameters), like this, using `.env` to keep your credentials safe:
|

```nodejs
cloudinary.config({
    cloud_name: '<your_cloud_name>',
    api_key: process.env.CLOUDINARY_API_KEY,
    api_secret: process.env.CLOUDINARY_API_SECRET,
    secure: true,
});
```

> **NOTE**: You can find your credentials in the [API Keys](https://console.cloudinary.com/app/settings/api-keys) page of the Cloudinary Console Settings.

### Use the CLOUDINARY_URL environment variable
{table:class=tutorial-bullets}|  | 
| --- | --- |
|{videotime:id=media :min=2 :sec=03 :player=cld} | Alternatively, you can set the `CLOUDINARY_URL` environment variable in your environment, which includes your cloud name, API key and API secret in one string. 
|
## Keep learning

> **READING**:
>
> * Watch more [Dev Hints videos](https://www.youtube.com/playlist?list=PL8dVGjLA2oMpaTbvoKCaRNBMQzBUIv7N8) on the [Cloudinary YouTube channel](https://www.youtube.com/cloudinary).

> * Follow the [Node.js SDK quick start](node_quickstart) to get up and running in five minutes.

> * Find out how to [upload files to Cloudinary using Node.js](node_image_and_video_upload).

> * Learn how to transform your [images](node_image_manipulation) and [videos](node_video_manipulation) using the Node.js SDK.

#### If you like this, you might also like...

  
  
  
    Optimization Tips
    Tips for delivering optimized images 
  

  
  
  
    Upload Images in Node.js
    Upload images to Cloudinary using the Node.js SDK 
  

  
  
  
    Named Transformations
    Simplify & standardize complex delivery URLs 
  

&nbsp;

&nbsp;Check out the Cloudinary Academy for free self-paced Cloudinary courses on a variety of developer or DAM topics, or register for formal instructor-led courses, either virtual or on-site.
&nbsp;
