This repo is archived in favour of sdk-link, which includes examples for various JavaScript toolings.
This is a sample project adding a rudimentry implementation of @codat/link-sdk to a default create-react-app project.
Docs | npm | @codatdata | Codat
Clone, install dependencies, and run the project.
npm install
npm run start
Go to the Portal and create a new company, and copy the ID. Paste this ID into the text box and click Start connecting
For simplicity, this project doesn't implement the creation of a company via Codat's API. In a real application you would do this programmatically via POST /companies
.