Step-by-Step Tutorials for Easy Integration

    Integration Guides

    Comprehensive tutorials and guides to help you integrate customs duty calculations into your applications, websites, and services.

    Quick Start Guide

    Get started with customs duty calculations in just a few steps

    1

    Get API Key

    Sign up and obtain your API key from the dashboard

    2

    Choose Integration

    Select the integration method that fits your needs

    3

    Follow Tutorial

    Follow our step-by-step integration guide

    4

    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

    Beginner
    15 minutes
    Technologies:
    ReactJavaScriptFrontend

    Node.js API

    Build a Node.js API that uses customs duty calculations

    Intermediate
    30 minutes
    Technologies:
    Node.jsExpressBackend

    Python Web App

    Create a Python web application with Flask and customs API

    Intermediate
    25 minutes
    Technologies:
    PythonFlaskWeb App

    Mobile Integration

    Integrate customs calculations into mobile applications

    Advanced
    45 minutes
    Technologies:
    React NativeMobileCross-platform

    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>
      );
    };

    Ready to Integrate?