> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stopbars.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Configuration

<Steps>
  <Step title="Enter your API Token">
    After [installing the plugin](/vatsys/installation), the first step is to add your API token from the [account page](https://preview.stopbars.com/account). This authenticates your requests and is required before you can proceed to any other configuration.

    <Frame>
      <img src="https://mintcdn.com/bars-20e5ea6e/QZWIRRfteHw7Meo1/images/v2/vatSys_BARS-Config.png?fit=max&auto=format&n=QZWIRRfteHw7Meo1&q=85&s=1d765389507206a80dc175edea8ac912" alt="vatSys BARS configuration window" width="288" height="300" data-path="images/v2/vatSys_BARS-Config.png" />
    </Frame>

    <Danger>
      Keep this token secret, never share it with anyone. It is used to authenticate API requests.
    </Danger>
  </Step>

  <Step title="Add Airport ICAO">
    Once your API token is saved, you can add airports to manage. Enter the airport's ICAO code in the input field and click **Add**.

    <Tip>
      You can add multiple airports to manage them all from the Config window, particularly useful when providing topdown coverage to multiple airports.
    </Tip>
  </Step>

  <Step title="Configure Based on Profile Type">
    When you click **Add**, the appropriate window will automatically open based off your added airport's profile type.
  </Step>
</Steps>

### INTAS Airports

After clicking **Add**, the airport lighting window opens immediately, ready for you to manage lighting configurations. No additional setup is required.

<Frame>
  <img src="https://mintcdn.com/bars-20e5ea6e/QZWIRRfteHw7Meo1/images/v2/vatSys_INTAS.png?fit=max&auto=format&n=QZWIRRfteHw7Meo1&q=85&s=5ee763e6a53e0cff7c33cd6eb928abf6" alt="vatSys INTAS airport lighting window" width="1920" height="1040" data-path="images/v2/vatSys_INTAS.png" />
</Frame>

### Legacy Airports

Legacy airports require a runway selection process before you can begin managing lighting.

<Steps>
  <Step title="Add Your Airport">
    Enter the airport ICAO code and click **Add**:

    <Frame>
      <img src="https://mintcdn.com/bars-20e5ea6e/QZWIRRfteHw7Meo1/images/v2/vatSys_Legacy-AirportAdd.gif?s=db72eac48ff0d4f6f981918ae84ed9cc" alt="Adding a Legacy airport in vatSys" width="288" height="300" data-path="images/v2/vatSys_Legacy-AirportAdd.gif" />
    </Frame>

    The airport will then auto populate within the Config window.
  </Step>

  <Step title="Runway Profiles Window Opens">
    The Runway Profiles window will automatically open for your added airport:

    <Frame>
      <img src="https://mintcdn.com/bars-20e5ea6e/QZWIRRfteHw7Meo1/images/v2/vatSys_Legacy-RunwayProfiles.png?fit=max&auto=format&n=QZWIRRfteHw7Meo1&q=85&s=44188fe0b05bdb5786b8b055a9817a9c" alt="Runway Profiles window" width="381" height="478" data-path="images/v2/vatSys_Legacy-RunwayProfiles.png" />
    </Frame>

    If it doesn't open, manually access it by clicking <Badge color="black">**"PROFILES"**</Badge>

    <Frame>
      <img src="https://mintcdn.com/bars-20e5ea6e/QZWIRRfteHw7Meo1/images/v2/vatSys_Legacy-Config.png?fit=max&auto=format&n=QZWIRRfteHw7Meo1&q=85&s=130f949ffbb9c1196ba3b560c236614d" alt="Runway Profiles button in config" width="288" height="300" data-path="images/v2/vatSys_Legacy-Config.png" />
    </Frame>
  </Step>

  <Step title="Select Your Runways">
    Choose which runway profiles you want to manage by selecting them in the window:

    <Frame>
      <img src="https://mintcdn.com/bars-20e5ea6e/QZWIRRfteHw7Meo1/images/v2/vatSys_Legacy-RunwayProfilesSelection.gif?s=b5a1b9f4328bde872ef179993fd9c10d" alt="Selecting runway profiles" width="381" height="478" data-path="images/v2/vatSys_Legacy-RunwayProfilesSelection.gif" />
    </Frame>
  </Step>

  <Step title="Dedicated Runway Windows">
    Once you've selected your desired runways, each runway will get its own dedicated lighting management window. You can now control lighting for each runway independently.

    <Frame>
      <img src="https://mintcdn.com/bars-20e5ea6e/QZWIRRfteHw7Meo1/images/v2/vatSys_Legacy.png?fit=max&auto=format&n=QZWIRRfteHw7Meo1&q=85&s=84077b15f1e89c9889bb226b565d5a25" alt="vatSys Legacy runway lighting window" width="1071" height="563" data-path="images/v2/vatSys_Legacy.png" />
    </Frame>
  </Step>
</Steps>

## Next Steps

You've now completed the installation and configuration of the plugin. Before you start controlling with BARS, we recommend learning about the different profile types and how they work.

<Card title="Profile Types" icon="layer-group" href="/vatsys/profiletypes" horizontal>
  Learn about airport profile types and how to effectively use the plugin for each type.
</Card>
