2017-11-23 11:02:52 +01:00
# Setup
Start by installing the official [BigchainDB JavaScript driver ](https://github.com/bigchaindb/js-bigchaindb-driver ):
```bash
npm i bigchaindb-driver
```
2018-02-15 13:32:00 +01:00
Then, include that as a module and connect to any BigchainDB node. You can create your own `app_id` and `app_key` on [BigchainDB Testnet ](https://testnet.bigchaindb.com ).
2017-11-23 11:02:52 +01:00
```js
const BigchainDB = require('bigchaindb-driver')
2018-02-28 09:20:10 +01:00
const bip39 = require('bip39')
2017-11-23 11:02:52 +01:00
2018-02-15 13:32:00 +01:00
const API_PATH = 'https://test.bigchaindb.com/api/v1/'
2017-11-23 11:02:52 +01:00
const conn = new BigchainDB.Connection(API_PATH, {
2018-02-15 13:32:00 +01:00
app_id: 'Get one from testnet.bigchaindb.com',
app_key: 'Get one from testnet.bigchaindb.com'
2017-11-23 11:02:52 +01:00
})
```