The Daktela JavaScript SDK is open-source and available via the standard Node.js package manager (NPM) and GitHub.
-
NPM Registry: @daktela/daktela-connector
-
GitHub Repository: Daktela/daktela-v6-js-connector
Installation
The SDK can be installed using npm, yarn, or pnpm. Run the following command in your project directory:
npm install @daktela/daktela-connector
Implementation & Usage
For comprehensive instructions on how to initialize the connector and interact with various Daktela modules, please refer to the README.md file in the official GitHub repository. The repository documentation covers:
-
Configuration: Initializing the connector with your instance URL and API Access Token.
-
API Modules: Performing CRUD operations on Contacts, Activities, Tickets, and more.
-
Advanced Queries: Implementing filtering, sorting, and pagination logic.
-
Error Handling: Managing API response states and exceptions.
Best Practices
-
Security: Never expose your API Access Token in client-side code that is accessible to the public. For front-end applications, we recommend using a back-end proxy or environment variables to protect your credentials.
-
Support: If you encounter bugs or have feature requests, please use the Issues section on the GitHub repository.