# Setup ## Prerequisites Before starting to use **N-API** you need to assure you have the following prerequisites: * **Node.JS** see: [Installing Node.js](https://nodejs.org/) * **Node.js native addon build tool** - **[node-gyp](node-gyp.md)** ## Installation and usage To use **N-API** in a native module: 1. Add a dependency on this package to `package.json`: ```json "dependencies": { "node-addon-api": "*", } ``` 2. Reference this package's include directory and gyp file in `binding.gyp`: ```gyp 'include_dirs': ["