Shipkit
DocsFeaturesPricing
DocsFeaturesPricing

Shipkit DocumentationBuild memory optimizationDevelopment GuideEnvironment VariablesError HandlingFile StructureMiddlewareRebranding Guide

Vercel Deployment Checks

Development GuideCLIDependency UpdatesDevToolsFeature FlagsAI PromptsSetup RequirementsSupply chaintRPCWeb Workers

FeaturesAIAnalytics IntegrationAuthenticationCMSDatabaseEmailHapticsPaymentsComponent RegistryStorageUIVisual BuilderWaitlist Feature

Quick StartDeploymentEnvironment VariablesFile StructureSetup Wizard

Caching & Rate LimitingContent ManagementError HandlingMarkdown and MDXMiddlewareProxy-Safe Server ActionsRebranding GuideWebhook Security Implementation GuideMulti-Zone ArchitectureVercel Deployment

IntegrationsPayload CMSDataFast Analytics IntegrationGoogle Analytics IntegrationGoogle Tag Manager IntegrationPostHogStatSig IntegrationUmami Analytics IntegrationAuth.js IntegrationBetter AuthClerkStack Auth IntegrationSupabase Authentication IntegrationBuilder.io IntegrationPayload CMS IntegrationAWS S3 IntegrationResend Email IntegrationUpstash Redis IntegrationVercel Blob IntegrationLemon SqueezyPolarStripe

API RoutesComponentsAPI Route SnippetsAuthentication SnippetsComponent SnippetsForm Handling SnippetsSnippets Introduction

    Vercel Blob Integration

    Vercel Blob is a simple, scalable storage solution built for Vercel applications, providing fast and reliable file storage with global CDN distribution.

    Environment Variables

    Required Server Variables

    VERCEL_BLOB_READ_WRITE_TOKEN=vercel_blob_rw_... # Your Vercel Blob token
    

    Setup Instructions

    1. Vercel Account Required: Vercel Blob is available for Vercel projects

    2. Enable Vercel Blob:

      • Go to your Vercel Dashboard
      • Select your project
      • Go to "Storage" → "Blob"
      • Create a new Blob store
    3. Generate Access Token:

      • In your Blob store settings
      • Generate a read-write token
      • Copy the token (starts with vercel_blob_rw_)
    4. Add Environment Variables:

      VERCEL_BLOB_READ_WRITE_TOKEN=vercel_blob_rw_your_token_here
      

    Features Enabled

    When this environment variable is configured, the following features become available:

    • ✅ Simple file upload and storage
    • ✅ Global CDN distribution
    • ✅ Automatic image optimization
    • ✅ Fast content delivery
    • ✅ Serverless integration
    • ✅ Real-time file management
    • ✅ Automatic backups and redundancy
    • ✅ Cost-effective scaling

    Configuration Options

    Advanced Configuration

    You can customize Vercel Blob behavior:

    # Custom region (if needed)
    VERCEL_BLOB_REGION=auto
    
    # Upload configuration
    VERCEL_BLOB_MAX_SIZE=5MB
    VERCEL_BLOB_ALLOWED_TYPES=image/*,video/*,application/pdf
    
    # Cache configuration
    VERCEL_BLOB_CACHE_CONTROL=max-age=31536000
    

    Integration with Next.js

    Vercel Blob integrates seamlessly with Next.js:

    • Server-side file uploads
    • Client-side upload components
    • API route integration
    • Image optimization with Next.js
    • Automatic deployment integration

    Security Features

    Vercel Blob security features:

    • Token-based authentication
    • Automatic HTTPS
    • DDoS protection
    • Content validation
    • Access control through tokens
    • Audit logging

    Testing

    Vercel Blob testing capabilities:

    • Use development tokens for testing
    • Test file upload and download
    • Verify CDN performance
    • Test error handling
    • Monitor usage and costs

    Production Deployment

    Before going live:

    1. Ensure proper token security
    2. Configure appropriate file size limits
    3. Set up proper error handling
    4. Configure monitoring and alerts
    5. Review cost optimization
    6. Set up proper backup strategies
    7. Configure access control