# Configuration

Main configuration file for OSTicket API is located in:\
&#x20;<mark style="color:orange;">`ost_wbs > config.php`</mark>

```php
// Database Credentials
define('DBTYPE',''); // Database type (mysql, sql..)
define('DBHOST',''); // IP Address
define('DBNAME',''); // Database Name
define('DBUSER',''); // Database User
define('DBPASS',''); // Database Password

// Table prefix
define('TABLE_PREFIX','ost_');

// Accepted ticket status
define('ATSTATUS', array(0,1,2,3,4,5,6,7));

// Check for IP authorization
// Set this to True, if you want your API to be only used by a specific IP Address
// The IP Address is defined in the OSTicket built in form.
define('APIKEY_RESTRICT', false);

// Write every successfull request to built in system log
define('WRITE_SYSTEMLOG', true);
```
