Integration Guides
Quick Start Guide
Get started with customs duty calculations in just a few steps
Get API Key
Sign up and obtain your API key from the dashboard
Choose Integration
Select the integration method that fits your needs
Follow Tutorial
Follow our step-by-step integration guide
Test & Deploy
Test your integration and deploy to production
Integration Features
Everything you need for successful integration
Quick Start Guide
Get up and running in minutes with our step-by-step tutorials.
Platform Tutorials
Detailed guides for popular platforms and frameworks.
Real-world Examples
Complete examples for common use cases and scenarios.
Performance Tips
Optimize your integration for speed and reliability.
Platform Tutorials
Detailed guides for popular platforms and frameworks
React Integration
Integrate customs calculations into your React application
Node.js API
Build a Node.js API that uses customs duty calculations
Python Web App
Create a Python web application with Flask and customs API
Mobile Integration
Integrate customs calculations into mobile applications
Basic Integration Example
Simple example of integrating customs calculations
React Component Example
Simple React component that calculates customs duties
import React, { useState } from 'react'; import { CarapisTax } from '@carapis/tax-sdk'; const CustomsCalculator = () => { const [result, setResult] = useState(null); const [loading, setLoading] = useState(false); const calculateDuty = async (formData) => { setLoading(true); try { const tax = new CarapisTax('your-api-key'); const calculation = await tax.calculate({ originCountry: formData.origin, destinationCountry: formData.destination, productType: formData.productType, value: formData.value, weight: formData.weight }); setResult(calculation); } catch (error) { console.error('Calculation error:', error); } finally { setLoading(false); } }; return ( <div> {/* Form and result display */} </div> ); };