# Creating a New Configuration

These are the steps for setting up configuration snapshots on a given primary machine:

1. Once logged into the client via inputting your credentials, navigate to the `Configurations` menu
2. Click `Create` in the upper right hand corner
3. Fill in the configuration form:
   1. **Name**: Choose a descriptive name for this backup configuration, as this is what will be displayed in the client for all backups using this configuration
   2. **Application**: Select the application type from the dropdown
   3. **Method**: Select the backup method (e.g., `Script` or `Folder`)

## Backup Configuration

4. Configure the backup settings:
   1. **Backup Path**: Use the folder browser to select the path where backups will be stored
   2. **Backup Script**: If using the Script method, input the desired PowerShell script for performing the backup
      * Custom scripts for specific applications will be provided by the Axilon team

## Restore Configuration

5. Configure the restore settings:
   1. **Download Path**: Specify the path where backup files will be downloaded before restoration
   2. **Restore Path**: Use the folder browser to select the path where the configuration will be restored
   3. **Restore Script**: If using the Script method, input the desired PowerShell script for performing the restore

## Change Detection (Optional)

6. **Run Change Detection** (optional): Check this box to enable change detection, which uploads diffs created by the configuration script
   * When enabled, you can include the `{{AXILON_TASK_ID}}` variable in your scripts, which will be automatically replaced at runtime
   * Example script with change detection:

     ```powershell
     Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass; C:\IgnitionBackup\diff_generation_with_approval_check.ps1 -task_id {{AXILON_TASK_ID}}
     ```
7. Click `Submit` to create the configuration
