# Node.js SDK

> Part of the OVHcloud developer hub. Index of every page and section: https://developers.eu.ovhcloud.com/llms.txt
> Everything in one file: https://developers.eu.ovhcloud.com/llms-full.txt

Promise-based JavaScript client for browser & server.

Latest release 3.0.0 Jul 18, 2024 [npm](https://www.npmjs.com/package/@ovhcloud/node-ovh)

[github.com/ovh/node-ovh](https://github.com/ovh/node-ovh)

## Install

```bash
npm install @ovhcloud/node-ovh
```

## First call

```javascript
// Create your first application tokens here: https://api.ovh.com/createToken/?GET=/me
var ovh = require('@ovhcloud/node-ovh')({
  appKey: process.env.APP_KEY,
  appSecret: process.env.APP_SECRET,
  consumerKey: process.env.CONSUMER_KEY
});

ovh.request('GET', '/me', function (err, me) {
  console.log(err || 'Welcome ' + me.firstname);
});
```

Quoted from [node-ovh's README](https://github.com/ovh/node-ovh#readme).

[Next OKMS SDK →](https://developers.eu.ovhcloud.com/sdks/okms.md)
