---
description: 'Here are the steps to set up your iNPC plugin:'
---

# Set Up

1. Download the latest version of the iNPC plugin from Polymart.
2. Place the jar file in your server's "plugins" folder.
3. Restart your server to load the plugin.
4. Obtain an API token from [openai](https://platform.openai.com/account/api-keys).
5. Open the iNPC configuration file that generated, located in the "plugins/iNPC" folder.
6. Add your API token to the `config.yml` file.
7. Place yourself in game and create an NPC using `/npc create [name]`
8. Run  `/citizens save`&#x20;
9. Add your NPC to the `default_npc` config inside the npc folder.  ![](https://698605149-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfUzUme0ZIql9HRqhNQXw%2Fuploads%2F5TBtT5ciycfuIIz1SAwn%2Fimage.png?alt=media\&token=8c971b17-3d3e-44bf-8037-5620367b1cb6)
10. Restart your server!
11. View the [iNPC Training](npc-training) page to complete the next sections in config.
