Are you looking to unlock the full potential of the .do platform within your applications? The .do Software Development Kit (SDK) is your key to seamlessly integrating and extending its powerful workflow capabilities. Whether you're building custom solutions, automating complex processes, or connecting your existing services, the .do SDK streamlines development and empowers innovation.
The .do SDK provides a developer-friendly interface to interact programmatically with the .do platform. This means you can leverage all the features of the platform – including its unique agentic workflow capabilities, business as code principles, and services as software approach – directly from your codebase.
Think of the SDK as your programmatic bridge to the .do platform. It simplifies complex API interactions, handles authentication, and provides intuitive methods for accessing platform resources. This allows you to focus on building the logic of your application without getting bogged down in the intricacies of low-level API calls.
The .do SDK is designed to be flexible, but it pairs particularly well with modern JavaScript environments like Node.js. Let's walk through a simple example of how to get started.
First, you'll need to install the .do SDK package using your preferred package manager:
npm install @do/sdk
or
yarn add @do/sdk
Once installed, you can start integrating. Here's a basic example demonstrating how to initialize the SDK and fetch available agents on the platform:
import { DoSDK } from '@do/sdk';
const sdk = new DoSDK({
apiKey: 'YOUR_API_KEY', // Replace with your actual API key
});
// Example: Fetch available agents
async function listAgents() {
try {
const agents = await sdk.agents.list();
console.log('Available Agents:', agents);
} catch (error) {
console.error('Error listing agents:', error);
}
}
listAgents();
In this example:
This is just a starting point. The .do SDK provides a rich set of methods for interacting with various aspects of the .do platform, including managing workflows, accessing data, and much more.
The possibilities with the .do SDK and Node.js are vast. You can build:
The .do SDK allows developers to programmatically interact with the .do platform, enabling them to build custom applications, automate workflows, and integrate with existing services.
You can install the .do SDK via npm or yarn package managers. Detailed installation instructions and documentation are available on our developer portal.
The .do SDK is designed to be used with a variety of programming languages. We primarily provide examples and support for TypeScript/JavaScript, but the underlying API can be accessed from any language capable of making HTTP requests.
Ready to start building powerful integrations and custom solutions with the .do platform? Head over to our developer portal to access the full SDK documentation, tutorials, and examples. Develop with Ease and unlock the true potential of your applications with the .do SDK.