--- title: "NODE SETUP SCRIPT" slug: "node-setup-script" updated: 2023-01-06T20:38:10Z published: 2023-01-06T20:38:10Z canonical: "docs.catchpoint.com/node-setup-script" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.catchpoint.com/llms.txt > Use this file to discover all available pages before exploring further. # NODE SETUP SCRIPT ## **Introduction** The new Catchpoint v2 API makes it easy to register a new Node or Instance in the portal. Th attached bash script picks up machine details such as MAC address and hostname, and takes the configurable Node/Instance parameters such as Node Name and ISP from a config file. It then sends a `POST` request to register the Node or Instance. ## **Prerequisites** - Catchpoint account with a REST API consumer - Instance activation key ## **Configuration** After downloading and unzipping the attached file, perform the following steps: 1. In the `catchpoint_node.config` file enter your API activation keys 2. If a new Node is to be created enter 0 as the value for `NODE_ID`. Otherwise specify the existing Node ID. 3. Edit the Node Name 4. Edit the OS ID, geography details, and Node model. ## **Result** Running the `node-setup.sh` file for the first time will create a `.log` file with the same name, which will contain details of the machine, the configuration details, and the API call response. ![nsc1.png](https://cdn.document360.io/cb4af8f9-6751-4fd2-b39c-07aae832badb/Images/Documentation/5662584724507-nsc1.png) [node-setup.zip](https://cdn.document360.io/cb4af8f9-6751-4fd2-b39c-07aae832badb/Images/Documentation/node-setup.zip)