# Setting Up Your Environment

## **1.1 Prerequisites**

Ensure you have the following installed on your system:

* **Node.js**: Version 18 or higher is recommended.
* **npm**: Comes bundled with Node.js.
* **API Key**: Sign up for an Assisfy account at Assisfy.ai to obtain your API key.

## **1.2 Project Initialization**

Initialize your Node.js project if you haven't already:

```bash
mkdir my-assisfy-agent
cd my-assisfy-agent
npm init -y
```

Install additional packages as needed (e.g., `dotenv` for managing environment variables):

```bash
npm install dotenv
```

## **1.4 Setting Up Environment Variables**

Store your API key securely using a `.env` file:

```plaintext
ASSISFY_API_KEY=your-api-key-here
```

Load the environment variables in your project:

```javascript
require('dotenv').config();
const apiKey = process.env.ASSISFY_API_KEY;
```
