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

# API Configuration

> Configure the SCANOSS API service using the application configuration file.

The SCANOSS API is configured through a JSON file located at `/opt/scanoss/tmp/scripts/app-config-prod.json`

This path is defined by the `APP_DIR` variable in [`config.sh`](https://github.com/scanoss/on-premise/blob/main/install/config.sh). If you changed the default installation directory during setup, adjust the path accordingly.

The configuration file contains all available options out of the box, some fields may be empty and can be filled in as needed.

## Applying Configuration Changes

After modifying the configuration file, run [`install-scanoss.sh`](https://github.com/scanoss/on-premise/blob/main/install/install-scanoss.sh) and select **5) Install Application**, then **5) API** from the sub-menu. This will restart the API service with the updated configuration applied.
