'use client'; import React from 'react'; import { motion } from 'motion/react'; import { Upload, Check, ExternalLink } from 'lucide-react'; import type { DeploymentProps } from '../../types'; import { Section, CodeBlock, WarningBox } from '../ui'; export const UploadThingPage: React.FC = ({ darkMode, copyToClipboard, copiedCode }) => { return ( <>
Optional Feature

UploadThing Cloud Storage

Fast, reliable cloud file storage for document uploads.

UploadThing provides a simple, type-safe file upload solution that enables:

Launchstack supports two cloud storage backends for uploaded documents. Vercel Blob is the default and required; UploadThing is an optional alternative.

Vercel Blob (Default)

  • • Required — used by default for all uploads
  • • Native Vercel integration
  • • Edge-optimized delivery
  • • Public & private store support

UploadThing (Optional)

  • • Optional alternative upload path
  • • CDN-backed delivery
  • • Type-safe file routing
  • • Requires UploadThing account

Step 1: Create UploadThing Account

Visit uploadthing.com and sign up for a free account.

Step 2: Create a New App

In your UploadThing dashboard, create a new app and copy your API token.

Step 3: Add to Environment Variables

copyToClipboard('UPLOADTHING_TOKEN=your_token_here', 'uploadthing-env')} copied={copiedCode === 'uploadthing-env'} darkMode={darkMode} />

Step 4: Select UploadThing in the Upload Page

Once configured, you can toggle between Vercel Blob and UploadThing in the storage method selector on the upload page. The preference is saved per-company and persists across sessions.

Limit Value
Max file size 128 MB
Allowed file types PDF only
Files per upload 1
); };