# Setting up

##

{% hint style="danger" %}
Before reading this please visit the token page to know on how to get your tokens, this guide only follows user auth
{% endhint %}

## Installing

```
You can install the package easily by doing 
npm i tweets.js
```

{% hint style="warning" %}
You need npm and node.js installed for this package to work
{% endhint %}

## Basic usage

{% hint style="warning" %}
Please visit the token page on how to acquire the following tokens
{% endhint %}

{% content-ref url="tokens" %}
[tokens](tokens)
{% endcontent-ref %}



```
const bird = require('tweets.js')

const bot = new bird.tweet({
consumer_key: "Your consumer key",
consumer_secret: "Your consumer secret",
access_token: "Your access token",
access_token_secret: "Your access token secret"
});
```

That's it, you now have a basic bot. visit the methods page for a guide on all the methods available
