Quick Start
Get up and running with Sync2Books in 5 minutes.
1. Get Your API Key
Log in to Sync2Books Dashboard
Go to Applications β Select your application
Copy your API Key
2. Connect QuickBooks
Option A: Use Link Component (Recommended)
import { useSync2Books } from '@sync2books/react';
function App() {
const { openLink } = useSync2Books({
companyId: 'your-company-id',
applicationId: 'your-application-id',
applicationName: 'My App',
apiKey: 'sk_live_your_api_key',
integrationKey: 'quickbooks',
onSuccess: ({ connectionId }) => {
console.log('Connected!', connectionId);
},
});
return <button onClick={() => openLink()}>Connect QuickBooks</button>;
}Option B: Manual OAuth
Contact support for manual OAuth setup.
3. Create Your First Expense
Response:
4. Check Sync Status
5. Upload a Receipt (Optional)
That's It! π
You've successfully:
β Connected QuickBooks
β Created an expense
β Synced it to QuickBooks
β Uploaded a receipt
Next Steps
Expense Management Guide - Learn more about creating expenses
Sync & Monitoring - Track sync status
Link Integration - Integrate the Link component
API Reference - Complete API documentation
Need Help?
Email: [email protected]
Documentation: This GitBook
Swagger UI: api.sync2books.com/docs
Last updated