> For the complete documentation index, see [llms.txt](https://docs.reactium.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.reactium.io/installing-foundations/install-actinium.md).

# Install Actinium

### Step 1: Reactium CLI

If you don't have it already, globally install the [Reactium CLI](https://www.npmjs.com/package/reactium)

```javascript
npm install -g reactium
```

### Step 2: Install Database

Actinium relies on MongoDB as its database service. You will need to set up a local instance for development purposes.

You can install MongoDB however you wish, but [Homebrew](https://brew.sh/) is an easy way.

#### Install Homebrew

```
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
```

#### Install MongoDB&#x20;

{% hint style="info" %}
If you're not sure if you have MongoDB installed already or are running an older version that may not be supported, you can run:&#x20;

```
brew services stop mongodb
brew uninstall mongodb
```

{% endhint %}

```
brew tap mongodb/brew
brew install mongodb-community
```

#### Run MongoDB Service

```
brew services start mongodb-community
```

### Step 3: Create DB Users

If this is your first time running MongoDB locally, you'll need to create the root admin user account.

#### Create DB Admin User

```jsx
mongo
use admin
db.createUser({user:"dbadmin", pwd:"PASSWORD", roles:[{role:"root", db:"admin"}]})
```

{% hint style="warning" %}
**Note:** be sure to replace **PASSWORD** with the actual password you wish to use
{% endhint %}

#### Create DB Actinium User

```jsx
use actinium
db.createUser({user:"actinium", pwd:"PASSWORD", roles:["readWrite"]})
exit
```

{% hint style="warning" %}
**Note:** be sure to replace **PASSWORD** with the actual password you wish to use
{% endhint %}

### Step 4: Install Actinium

```
cd /YOUR/PROJECT
reactium init
[ARCLI] > Initialize what type of project?:  
  Reactium (Web Application) 
❯ Actinium (Web API) 
[ARCLI] > Initialize Actinium here?:  (y/N) y
```

### Step 5: Configure Actinium

Configure Actinium to run using the default db and user:

```javascript
cd /WHERE/YOU/SAVED/ACTINIUM
reactium db -u "mongodb://actinium:PASSWORD@localhost:27017/actinium"
```

### Step 6: Run Locally

```
npm run local
```

{% hint style="success" %}
**Done!**&#x20;

To view the Database Dashboard provided by Parse Server:

* **Navigate to:** [localhost:9000/parse](http://localhost:9000/parse)
* **Username:** admin
* **Password:** admin
  {% endhint %}
