---
schema_version: "1"
id: c9016e23b8c7ab08cf9fca6197d6402b6c384af4ba5b00954f9f8995e3577aa0
title: Best Practices
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/service-cloud/api-cti/guides/sforce-api-cti-best-practices.md
canonical_url: https://developer.salesforce.com/docs/service/api-cti/guide/sforce-api-cti-best-practices.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: cd6c929242d2a8f8737c8ded0186da18438cd2b830a293d127a18246fcc5c0dc
products:
  - Open CTI Developer Guide
  - Service Cloud Developer Content
---

# Best Practices

When working with Open CTI, keep the following best practices in mind.


-   Since many of the methods in Open CTI are asynchronous and return their results using a callback method, Salesforce recommends that you refer to the documentation for each method to understand the information for each response.
-   Errors generated by Open CTI are typically emitted in a way that doesn't halt JavaScript processing. We recommend that you use browser built-in developer tools to monitor the JavaScript console and to help you debug your code.
-   If you plan on customizing, extending, or integrating the sidebars of the Salesforce console using Visualforce, review the online help for information about console components.

