Quick Setup (Local)
Get C3 running on your local network in under 5 minutes.
Overview
Local network setup is the simplest way to use C3. Your phone connects directly to your computer over WiFi — no internet tunneling required.
Requirements
Both your phone and computer must be connected to the same WiFi network. This typically works best at home or in an office where you control the network.
Setup Steps
Start the C3 Server
Open a terminal and start the server with authentication credentials:
ccc -u your_username -p your_passwordUsername and password are required for security. The server will start and display a QR code in your terminal.
Download the Mobile App
Download C3 from your app store:
Using beta backend? Download the beta app: TestFlight (iOS) or Open Beta (Android)
Scan the QR Code
Open the C3 app and tap "Scan QR Code" on the setup screen. Point your camera at the QR code displayed in your terminal.
The app will automatically configure the server connection.
Start Chatting
You're connected! Create a new project or select an existing one to start chatting with your AI coding agent.
QR Code Setup
The QR code contains your server's connection details, including:
- Server URL (IP address and port combined)
- Authentication credentials
- SSL/TLS configuration
- Profile name for identification
Regenerate QR Code
Press q in the terminal while the server is running to regenerate and display the QR code again.
What the QR Code Contains
{
"serverUrl": "192.168.1.100:8883",
"username": "your_username",
"password": "your_password",
"useSSL": false,
"profileName": "My Dev Machine"
}Manual Setup
If QR scanning doesn't work, you can manually enter the connection details:
- Find your computer's local IP address
- In the C3 app, go to Settings → Add Server Profile
- Enter the Server URL as
IP_ADDRESS:8883(e.g.,192.168.1.100:8883) - Enter your Username and Password
- Keep SSL toggled off for local connections
- Save and connect
Finding Your IP Address
# macOS
ipconfig getifaddr en0
# Linux / WSL
hostname -I | awk '{print $1}'
# Windows (PowerShell)
(Get-NetIPAddress -AddressFamily IPv4 | Where-Object { $_.InterfaceAlias -notlike "*Loopback*" }).IPAddressTroubleshooting
Can't connect to server
- Ensure both devices are on the same WiFi network
- Check if your firewall is blocking port 8883
- Try disabling VPN on both devices
- Verify the server is running (check terminal output)
QR code not scanning
- Ensure adequate lighting
- Hold your phone steady and at the right distance
- Try regenerating the QR code (press
q) - Use manual setup as a fallback
Note
For more detailed troubleshooting, see the Connection Issues guide.