# Installation

## Before starting

Make sure you have the following applications installed before starting:

1. You need to install [Node.js](https://nodejs.org/en/) v12 or higher and [MongoDB](https://www.mongodb.com/download-center/community).
2. Clone the repository `https://github.com/KSJaay/Alita.git`
3. Find the folder `Alita` which you just cloned.
4. `PM2` - Is an optional module

### Editing the configuration

Before you start the bot you'll need to change the name of`config.sample.json` to `config.json` and then add your bots token along with the API keys required for some of the features. If you do not want get specific API keys don't add them to `config.json` and the command will automatically be disabled.&#x20;

API keys necessary:

* [Discord Bot ](https://discordapp.com/developers)- Token for your discord bot
* [Tracker.gg ](https://tracker.gg/)- Used for user profile for games commands

### Install modules

* Launch an Admin Command Prompt in the Alita directory.
* Make sure `Package.json` is in the file location
* `npm install`
* `npm start index.js`
* And then enjoy the features Alita offers ❤️
