# Configuring the Advanced API Settings

The Advanced API Settings allow you to configure critical parameters for the API connection used by the Kognetiks Chatbot. Follow these steps to ensure the plugin is properly set up:

<img src="advanced-api-settings.png" alt="Advanced API Settings" style="width:auto;height:auto;">

1. **Base URL for API**:
   - **Description**: This field specifies the base URL for the Anthropic API. The plugin uses this URL to connect to the Anthropic servers.
   - **Default Value**: The default URL is `https://api.anthropic.com/v1`.
   - **Customization**: Typically, you should not need to change this value unless directed by Anthropic support or if there are specific requirements for your integration.

2. **Timeout Setting (in seconds)**:
   - **Description**: This setting determines how long the plugin will wait for a response from the API before timing out.
   - **Default Value**: The default is set to 240 seconds.
   - **Customization**: Adjust this value based on your server's performance and network conditions. A higher value might be needed if you experience frequent timeouts, while a lower value can be used to reduce wait times in case of unresponsive requests.

## Steps to Configure

1. Navigate to the Advanced API Settings section of the Kognetiks Chatbot plugin in your WordPress dashboard.
2. Verify the `Base URL for API` is set to `https://api.anthropic.com/v1`. Change it only if instructed by Anthropic or if you have specific requirements.
3. Set the `Timeout Setting (in seconds)` by entering a numeric value that suits your server and network conditions.
4. Save the settings.

## Tips

- **Avoid Unnecessary Changes**: Unless you have a specific reason, it's best to leave the Base URL as the default provided by Anthropic.
- **Monitor Performance**: If you experience issues with response times or API connectivity, consider adjusting the timeout setting and monitor the performance impact.
- **Consult Documentation**: For more information on API parameters and troubleshooting, refer to the [Anthropic API Reference](https://docs.anthropic.com/en/api/getting-started).

By configuring these settings, you ensure that your Kognetiks Chatbot maintains a stable and efficient connection to the Anthropic API, providing reliable performance for your users.

---

- **[Back to API Anthropic Settings](api-anthropic-model-settings.md)**
- **[Back to the Overview](/overview.md)**