> For the complete documentation index, see [llms.txt](https://docs.ionos.com/cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionos.com/cloud/nodejs/node.js-sdks.md).

# Node.js SDKs

Use the IONOS Cloud Node.js SDKs to build Node.js apps on IONOS Cloud. Each SDK is available on npm.

### Available Node.js SDKs

#### Core Infrastructure

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:blue;"><strong>Cloud API Node.js SDK</strong></mark></td><td>Manage compute, networking, and storage</td><td><a href="/spaces/-MgQ1VXOWpmtm7r_Cdnx-3956399747">/spaces/-MgQ1VXOWpmtm7r_Cdnx-3956399747</a></td></tr></tbody></table>

#### Database

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:blue;"><strong>DBaaS Mongo Node.js SDK</strong></mark></td><td>Provision and manage MongoDB clusters</td><td><a href="/spaces/mLKm79S33kdyAaTS6Uqu">/spaces/mLKm79S33kdyAaTS6Uqu</a></td></tr><tr><td><mark style="color:blue;"><strong>DBaaS Postgres Node.js SDK</strong></mark></td><td>Provision and manage PostgreSQL clusters</td><td><a href="/spaces/QrYa6RYxx5nsHC9p5p5W">/spaces/QrYa6RYxx5nsHC9p5p5W</a></td></tr><tr><td><mark style="color:blue;"><strong>MariaDB SDK Node.js</strong></mark></td><td>Provision and manage MariaDB clusters</td><td><a href="/spaces/ZN1Ka4Hi77YuXafBkY62">/spaces/ZN1Ka4Hi77YuXafBkY62</a></td></tr></tbody></table>

#### Containers

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:blue;"><strong>Container Registry Node.js SDK</strong></mark></td><td>Manage container registries and image repositories</td><td><a href="/spaces/dMTeVE3owSDkxYgz4DCY">/spaces/dMTeVE3owSDkxYgz4DCY</a></td></tr></tbody></table>

#### Security

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:blue;"><strong>Certificate Manager Node.js SDK</strong></mark></td><td>Manage TLS/SSL certificates</td><td><a href="/spaces/WEb7onjoUX9oVRHaUAe9">/spaces/WEb7onjoUX9oVRHaUAe9</a></td></tr></tbody></table>

### Quick Start

Install the Cloud API Node.js SDK:

```bash
npm install @ionos-cloud/sdk-nodejs
```

Set up a client:

```javascript
const ionoscloud = require('@ionos-cloud/sdk-nodejs');

const config = new ionoscloud.Configuration({
    username: process.env.IONOS_USERNAME,
    password: process.env.IONOS_PASSWORD,
});

const api = new ionoscloud.DataCentersApi(config);
```

Use a token instead:

```javascript
const config = new ionoscloud.Configuration({
    tokenApiKey: process.env.IONOS_TOKEN,
});
```

### Authentication

All Node.js SDKs use the same credentials. Store them in environment variables and keep them out of your source code.

```bash
export IONOS_USERNAME=your@email.com
export IONOS_PASSWORD=yourpassword

# Use a token for CI/CD:
export IONOS_TOKEN=your_api_token
```

### GitHub Repositories

All Node.js SDKs are open source on GitHub under [ionos-cloud](https://github.com/ionos-cloud). Product SDKs follow the pattern `@ionos-cloud/sdk-nodejs-{service}`.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.ionos.com/cloud/nodejs/node.js-sdks.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
