Quick Start Guide
Get up and running with TAG IT Network in under 5 minutes. This guide walks you through creating your account, getting API keys, and verifying your first product.
Prerequisites
Before you begin, make sure you have:
- A modern web browser (Chrome, Firefox, Safari, or Edge)
- A cryptocurrency wallet (MetaMask recommended)
- Basic familiarity with REST APIs
- Node.js 16+ or Python 3.8+ (for SDK usage)
Step 1: Create Your Developer Account
Start by creating a free developer account on the TAG IT Network dashboard:
- Visit dashboard.tagit.network
- Click "Sign Up" and connect your wallet
- Complete the verification process
- Access your dashboard to get your API keys
Your developer account includes 1,000 free API calls per month on the Starter plan. Upgrade anytime for higher limits.
Step 2: Get Your API Keys
Once logged in, navigate to Settings > API Keys to generate your credentials:
# Your API credentials will look like this:
API_KEY=tagit_live_abc123xyz789
API_SECRET=sk_live_your_secret_key_here
Never expose your API secret in client-side code. Always use environment variables and keep secrets server-side.
Step 3: Install the SDK
Choose your preferred language and install the TAG IT SDK:
JavaScript / Node.js
npm install @tagit/sdk
# or
yarn add @tagit/sdk
Python
pip install tagit-sdk
Step 4: Verify Your First Product
Now let's verify a product's authenticity using the SDK:
// Initialize the TAG IT SDK
import { TagIt } from '@tagit/sdk';
const tagit = new TagIt({
apiKey: process.env.TAGIT_API_KEY,
network: 'mainnet' // or 'testnet' for development
});
// Verify a product by its NFC tag ID
async function verifyProduct(tagId) {
try {
const result = await tagit.products.verify(tagId);
console.log('Product verified:', result.verified);
console.log('Product info:', result.metadata);
console.log('Current owner:', result.currentOwner);
console.log('Transfer history:', result.transferHistory);
return result;
} catch (error) {
console.error('Verification failed:', error.message);
}
}
// Example usage
verifyProduct('NFC-TAG-001-ABC');
Step 5: Understanding the Response
A successful verification returns a response object like this:
{
"verified": true,
"tagId": "NFC-TAG-001-ABC",
"metadata": {
"productName": "Luxury Watch Model X",
"brand": "Premium Timepieces",
"serialNumber": "SN-2024-001234",
"manufactureDate": "2024-01-15",
"origin": "Switzerland"
},
"currentOwner": "0x742d35Cc6634C0532925a3b844Bc9e7595f5c9E8",
"transferHistory": [
{
"from": "0x0000000000000000000000000000000000000000",
"to": "0x742d35Cc6634C0532925a3b844Bc9e7595f5c9E8",
"timestamp": "2024-01-15T10:30:00Z",
"txHash": "0xabc123..."
}
],
"blockchain": {
"network": "polygon",
"contractAddress": "0x1234567890abcdef...",
"tokenId": "12345"
}
}
Next Steps
Congratulations! You've successfully verified your first product. Here's what to explore next:
- Platform Overview - Understand the full TAG IT architecture
- REST API Reference - Explore all available endpoints
- Product Tagging Tutorial - Learn how to tag physical products
- NFC Chip Selection - Choose the right hardware for your use case
Join our Discord community for real-time support, or check out the FAQ for common questions.