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

# Installation

## Getting Started

### Requirements

* [Node.js](https://nodejs.org/en/download/)

### Installation

{% tabs %}
{% tab title="npm" %}

```shell
npm install --save @altura/altura-js
```

{% endtab %}

{% tab title="yarn" %}

```shell
yarn add @altura/altura-js
```

{% endtab %}
{% endtabs %}

**That's it!** You have successfully installed the Altura SDK.

### Importing

To use the Altura SDK in your code, you need to import it as follows.

```javascript
const { Altura } = require("@altura/altura-js")

const altura = new Altura(API_KEY); // API_KEY is optional
```

{% hint style="info" %}
Adding an API key will allow you to use all the methods available in the SDK. Omitting an API key will only allow you to use the get methods&#x20;
{% endhint %}
