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

# Start Generating Content

### Setting up .env file

Instructions on how to get the API Keys is [here](/player1-docs/getting-started/getting-api-keys.md#api-keys)

Make sure to have a trained model before looking for the model\_id or upload one of our models which you can find [here](/player1-docs/basics/our-models.md)&#x20;

```
OPENAI_API_KEY= Your OPENAI KEY
OPENAI_MODEL=gpt-4o-mini YOU OPENAI MODEL YOU WISH TO USE

SCENARIO_API_KEY= SCENARIO API KEY
SCENARIO_API_SECRET= SCENARIO API SECRET
SCENARIO_MODEL_ID= SCENARIO MODEL ID

TWITTER_USERNAME= TWITTER USERNAME
TWITTER_PASSWORD= TWITTER PASSWORD

TWEET_INTERVAL=2 TIME BETWEEN EACH RUN
```

\
Once everything is populated run the following commands\
\
`npm install`

`npm run build`

`npm start`
