Adding API configuration.