Quickstart
This guide will help you set up Forge and create your first customized dashboard with widgets in just a few minutes.Prerequisites
Before you begin, make sure you have:- Node.js v18 or later installed on your system
- PostgreSQL database (local or hosted)
- Redis instance (we recommend Upstash for easy setup)
- Blob storage (Vercel Blob or compatible alternative)
If you’re just getting started, we recommend using Vercel Postgres and Upstash Redis for quick setup.
Installation
Install dependencies
Install all required npm packages:This will install Next.js 16, React 19, Drizzle ORM, BetterAuth, and all other dependencies.
Run database migrations
Set up the database schema using Drizzle:This creates the necessary tables for users, sessions, dashboards, widgets, and settings.
Start the development server
Create Your First Dashboard
Now that Forge is running, let’s set up your first dashboard:Create an account
- Navigate to http://localhost:3000
- Click Sign Up to create a new account
- Enter your name, email, and password
- You’ll be automatically logged in after registration
Complete onboarding
After signing up, you’ll see the onboarding dialog:
- Enter a name for your first dashboard (e.g., “Work Dashboard” or “Personal”)
- Choose a theme preference (Light or Dark mode)
- Click Get Started to complete the setup
Add your first widget
Now let’s add a widget to your dashboard:
- Click the + Add Widget button in the top-right corner
- Browse the available widgets (Clock, Weather, Todo, etc.)
- Select a widget type - let’s start with Clock since it requires no setup
- The widget will appear on your dashboard
Some widgets like Clock, Countdown, and Bookmarks work immediately. Others like Meetings and Inbox require OAuth integration with Google.
Customize the layout
Forge uses a drag-and-drop grid system:
- Click Edit Mode in the top-right to enable editing
- Drag the widget to reposition it on the grid
- Resize by dragging the corners (each widget has min/max size constraints)
- Add more widgets to build your perfect layout
- Click Save when you’re done
Add More Widgets
Now that you have your first widget, let’s add a few more useful ones:- No Setup Required
- Requires OAuth
These widgets work immediately without any integrations:
- Clock - Display current time with timezone support
- Weather - Get local weather using geolocation (Open-Meteo API)
- Todo - Manage tasks with checkboxes and reminders
- Bookmarks - Save and organize favorite links
- Countdown - Track time until important events
- Kanban - Organize tasks in a visual board
- Markdown Editor - Draft notes with rich text formatting
Next Steps
Congratulations! You’ve successfully set up Forge and created your first dashboard. Here’s what to explore next:Connect Integrations
Link Google, GitHub, or Notion to unlock powerful widgets
Explore Widgets
Learn about all 13 available widgets and their features
Multiple Dashboards
Organize widgets across different dashboards for different contexts
Customize Themes
Personalize colors and layout to match your workflow
Troubleshooting
Database connection failed
Database connection failed
Make sure your PostgreSQL database is running and the
DATABASE_URI in your .env file is correct. Test the connection:Redis connection errors
Redis connection errors
Verify your Upstash Redis credentials are correct. You can test the connection using the Upstash dashboard or with:
Build errors after npm install
Build errors after npm install
Try clearing your cache and reinstalling:
Widgets not loading
Widgets not loading
Check the browser console for errors. Make sure all required environment variables are set and the API endpoints are responding. Test by visiting
http://localhost:3000/api/dashboards - you should see a JSON response.Need more help? Check out the Self-Hosting Guide for detailed deployment instructions or visit the GitHub Issues page.