# Installation

## Installing the NexaID Network-JS-SDK

Welcome to the first step in integrating NexaID Network-JS-SDK into your project! This guide will walk you through the installation process and help you get started quickly.

### Prerequisites

Before you begin, make sure you have:

* Node.js (version 18 or later) installed on your system
* npm (usually comes with Node.js) or yarn as your package manager

### Installation Steps

#### 1. Install the SDK

Open your terminal and navigate to your project directory. Then run one of the following commands:

* Using npm:

```bash
npm install --save @nexaid/network-js-sdk
```

* Using yarn:

```bash
yarn add --save @nexaid/network-js-sdk
```

This command will download and install the NexaID Network SDK and its dependencies into your project.

#### 2. Verify Installation

To ensure the SDK was installed correctly, you can check your `package.json` file. You should see `@nexaid/network-js-sdk` listed in the `dependencies` section.

### Importing the SDK

After installation, you can import the SDK in your JavaScript or TypeScript files. Here's how:

```javascript
import { NexaIDNetwork } from "@nexaid/network-js-sdk";
```

### Next Steps

Congratulations! You've successfully installed the NexaID Network SDK. Here's what you can do next:

**Quick Start**: Explore our [Example](/nexaid/build-on-nexaid/dapp-integration/example.md) to quickly experience the project in action.


---

# Agent Instructions: 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:

```
GET https://nexaid.gitbook.io/nexaid/build-on-nexaid/dapp-integration/installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
