Setup Guide
Complete installation and configuration guide for setting up your Solana App Kit development environment
This guide will walk you through setting up your development environment and getting your first Solana mobile app running in minutes.
Prerequisites
Before you begin, ensure you have the following installed:
Node.js >= 18.0.0
Download from nodejs.org - LTS version recommended
Package Manager
pnpm (recommended), npm, or yarn - we recommend pnpm for better performance
Git
Version control system - download from git-scm.com
Node.js >= 18.0.0
Download from nodejs.org - LTS version recommended
Package Manager
pnpm (recommended), npm, or yarn - we recommend pnpm for better performance
Git
Version control system - download from git-scm.com
macOS Required: iOS development requires a Mac computer
Xcode
Latest version from Mac App Store - includes iOS Simulator and build tools
CocoaPods
Install with: sudo gem install cocoapods
iOS Simulator
Included with Xcode - for testing on virtual devices
Android Studio
With Android SDK - download from developer.android.com
Android Emulator
Or physical Android device - for testing your applications
Java Development Kit (JDK)
Version 11 or newer - required for Android builds
Expo CLI
Install globally: npm install -g @expo/cli
EAS CLI
For building and deployment: npm install -g eas-cli
Quick Start
One Command Setup
The fastest way to get started is using our CLI tool:
Automatic Process
This command will automatically:
- Clone the repository
- Install all dependencies
- Set up environment variables
- Launch the development server
Ready to Go
Your app will be running on iOS Simulator, Android Emulator, or web browser!
That’s it! Most developers can skip the manual installation section below.
Manual Installation
If you prefer to set up manually or need more control:
Clone the Repository
Install Dependencies
iOS Dependencies (iOS only)
Environment Configuration
The app requires several environment variables for full functionality:
Create Environment File
Configure Core Variables
Add your API keys and configuration to .env.local
:
Getting API Keys
Essential for core functionality:
Essential for core functionality:
For enhanced features:
Dynamic
Multi-chain Wallets - Register for 300+ wallet support
Turnkey
Enterprise Wallets - Apply for institutional-grade security
Tensor
NFT Data - Get API access for NFT marketplace features
CoinGecko
Market Data - Free API for token prices and market info
Birdeye
Token Analytics - Sign up for advanced token data
OpenAI
AI Features - Get API key for AI-powered interactions
Backend Server Setup
The kit includes a powerful backend server for enhanced functionality:
Navigate to Server Directory
Install Server Dependencies
Configure Server Environment
Set Up Database
Start Backend Server
Server will be available at http://localhost:3000
Running the Mobile App
Start Development Server
From the root directory:
Choose Your Platform
Development Server Commands
When the Expo server is running, use these keyboard shortcuts:
iOS Simulator
Press i
to open iOS simulator
Android Emulator
Press a
to open Android emulator
Web Browser
Press w
to open in web browser
Reload App
Press r
to reload the app
Toggle Menu
Press m
to toggle the menu
Developer Tools
Press d
to open developer tools
Verification
Check Mobile App
✅ You should see the intro screen with wallet connection options
Verify Backend
✅ Check http://localhost:3000/health
returns 200 status
Test Wallet Connection
✅ Try connecting with any configured wallet provider
Navigate Features
✅ Navigate through the app’s main features
Development Mode
The app includes a special development mode for easier debugging:
Troubleshooting
Need Help? Join our Telegram community for real-time support from developers and maintainers.
Next Steps
Explore the UI
Navigate through screens and discover the app’s features and capabilities
Review the Code
Understand the structure with our comprehensive project organization guide
Try Features
Test wallet connections and explore token swaps, NFTs, and other functionality
Start Customizing
Modify the app for your specific use case with practical examples
Production Deployment
Ready to ship your app? Deploy to app stores with EAS Build:
Learn More: Check out the EAS Build documentation for detailed deployment instructions.