2017-11-23 11:02:52 +01:00
# Setup
2018-08-29 12:52:10 +02:00
Start by installing the official BigchainDB [JavaScript driver ](https://github.com/bigchaindb/js-bigchaindb-driver ), [Python driver ](https://github.com/bigchaindb/bigchaindb-driver ) or [Java driver ](https://github.com/bigchaindb/java-bigchaindb-driver ):
2017-11-23 11:02:52 +01:00
```bash
2018-08-29 12:52:10 +02:00
# JavaScript driver
2017-11-23 11:02:52 +01:00
npm i bigchaindb-driver
```
2018-08-29 12:43:10 +02:00
```bash
2018-08-29 12:52:10 +02:00
# Python driver
2018-08-29 12:43:10 +02:00
pip install -U bigchaindb-driver
```
2018-08-29 12:52:10 +02:00
```xml
<!-- Java driver, in pom.xml for Maven users -->
< dependency >
< groupId > com.bigchaindb< / groupId >
< artifactId > bigchaindb-driver< / artifactId >
< version > 1.0< / version >
< / dependency >
```
2018-09-24 16:31:16 +02:00
Then, include that as a module and connect to any BigchainDB node.
2017-11-23 11:02:52 +01:00
```js
const BigchainDB = require('bigchaindb-driver')
2018-10-10 13:57:50 +02:00
const API_PATH = '{{ site.bigchaindb_api_url }}/api/v1/'
2018-09-24 16:31:16 +02:00
const conn = new BigchainDB.Connection(API_PATH)
2017-11-23 11:02:52 +01:00
```
2018-08-29 12:43:10 +02:00
```python
from bigchaindb_driver import BigchainDB
2018-10-10 13:57:50 +02:00
conn = BigchainDB('{{ site.bigchaindb_api_url }}')
2018-08-29 12:52:10 +02:00
```
```java
BigchainDbConfigBuilder
2018-10-10 13:57:50 +02:00
.baseUrl("{{ site.bigchaindb_api_url }}/").setup();
2018-08-29 12:43:10 +02:00
```