First steps with Codat
A practical introduction to Codat's Portal and API
You need an account and APIAPI A set of rules and protocols that allows different software applications to communicate with each other. Codat provides APIs for accessing financial data from accounting, banking, and commerce platforms. key to follow this guide. Get in touch to discuss creating an account today.
In this guide...
With Codat, you can more easily build integrated financial products for SMBsSMB The primary customer segment that Codat helps businesses serve, typically companies with annual revenues under $500 million..
Set up your customers by adding them as companies in Codat. Then, establish authorized connectionsConnection A link between a Codat company and a data source (like an accounting platform). Each connection represents authorized access to pull or push data from that platform. to the customers' accounting, banking, or commerce software using one of our integrations.
Finally, review and analyze the data relevant to your use case, which Codat reads from your SMBSMB The primary customer segment that Codat helps businesses serve, typically companies with annual revenues under $500 million. customers' data sourcesData source An external platform (such as QuickBooks, Xero, or a bank) that Codat integrates with to pull or push financial data..
This guide is aimed at developers and non-developers alike. In three easy steps, you will create a companyCompany In Codat, a company represents your customer's business entity. Companies can have multiple connections to different data sources., linkLink The authorization flow that allows end users to connect their accounting, banking, or commerce platforms to your application via Codat. it to Codat's sandbox, and review its financial data to get acquainted with Codat's solution.
Your free account comes equipped with an example companyCompany In Codat, a company represents your customer's business entity. Companies can have multiple connections to different data sources.. Navigate to Companies in the Codat Portal and click the demo companyCompany In Codat, a company represents your customer's business entity. Companies can have multiple connections to different data sources. to examine data relevant for your use case.
You can perform each step in the Codat Portal or using our APIAPI A set of rules and protocols that allows different software applications to communicate with each other. Codat provides APIs for accessing financial data from accounting, banking, and commerce platforms..
Developer prerequisites
If you are a developer and want to work with Codat using our API reference or by making calls to our APIAPI A set of rules and protocols that allows different software applications to communicate with each other. Codat provides APIs for accessing financial data from accounting, banking, and commerce platforms. in code, you first need to authenticate.
Authenticate with Codat's API
Authorization headers can only be viewed and copied by users with Administrator or Developer roles.
Codat uses APIAPI A set of rules and protocols that allows different software applications to communicate with each other. Codat provides APIs for accessing financial data from accounting, banking, and commerce platforms. keys, Base64 encoded within an authorization header, to control access to the APIAPI A set of rules and protocols that allows different software applications to communicate with each other. Codat provides APIs for accessing financial data from accounting, banking, and commerce platforms.. To copy your authorization header, navigate to Developers > APIAPI A set of rules and protocols that allows different software applications to communicate with each other. Codat provides APIs for accessing financial data from accounting, banking, and commerce platforms. keys in the Codat Portal.
Then, replace {basicAuthHeader} in the code snippets below.
- C#
- TypeScript
- Python
- Go
Installation
dotnet add package Codat.Platform
Authentication
using CodatPlatform;
using CodatPlatform.Models.Shared;
var codatPlatform = new CodatPlatformSDK(
security: new Security() {
AuthHeader = "{basicAuthHeader}",
}
);