🚀 One-Click Deploy Wizard

Deploy Your Barbrick Design Platform

After purchase, follow this step-by-step wizard to configure every gateway, API, and environment variable required to bring your platform fully online.

0 / 8 steps completed
Railway Backend Variables
Your Railway backend is the backbone for 80+ features. Setting these environment variables unlocks payments, AI, email, and more instantly.
🚂

Configure Railway Environment Variables

Required for: payments, AI features, email notifications, WebSocket gateway, GitHub integration
Variable Name Where to Get It / Value Priority
PAYPAL_CLIENT_ID PayPal Developer → My Apps → Live → Client ID HIGH
PAYPAL_SECRET PayPal Developer → My Apps → Live → Secret key HIGH
PAYPAL_WEBHOOK_ID PayPal Developer → Webhooks → copy Webhook ID for your endpoint URL HIGH
PAYPAL_MODE Set to production for live payments, or sandbox for testing HIGH
PAYPAL_EMAIL Your PayPal business email address HIGH
GATEWAY_TOKEN A strong secret string (32+ chars) — used for WebSocket dashboard connection HIGH
AGENTR Your GitHub Personal Access Token (see Step 5) HIGH
OPENAI_API_KEY platform.openai.com/api-keys MED
GOOGLE_CLIENT_ID Google Cloud Console → OAuth 2.0 Client ID (see Step 3) MED
ROOTIBAPP_CLIENT_ID GitHub OAuth App Client ID → github.com/settings/developers MED
ROOTIBAPP_CLIENT_SECRET Same GitHub OAuth App — Client Secret MED
EMAIL_USER Your Gmail address for outgoing notifications MED
EMAIL_PASS Gmail App Password — myaccount.google.com/apppasswords MED
SOLANA_RPC_URL Helius RPC URL — helius.dev (free plan available) MED
TWILIO_ACCOUNT_SID console.twilio.com — for SMS features LOW
TWILIO_AUTH_TOKEN Twilio Console → Account Info LOW
TWILIO_PHONE Your Twilio phone number (e.g. +15551234567) LOW
GROQ_API_KEY console.groq.com/keys — free tier LOW
XAI_API_KEY x.ai/api — Grok API LOW
AGENT_PASSCODE Any secure password for admin agent control endpoints LOW
GOOGLE_MAPS_API_KEY Google Cloud Console → Maps JavaScript API key (see Step 8) LOW
⚠️ After adding variables, Railway restarts the service automatically. Check the deployment logs to confirm it starts successfully.
PayPal Integration
Set up live PayPal credentials so your platform can accept payments and send payouts.
💳

Create a Live PayPal App & Get Credentials

Required for: contributor registration, payment processing, payouts (247.html, client.html)
⚠️ The Webhook ID is different from the Client ID. Without it the backend skips signature verification (events still process but are unverified). For PayPal Payouts, enable the Payouts feature in your Live app under Features — requires a verified Business account.
Google OAuth Setup
17+ programs use Google Sign-In. Setting this up once unlocks all of them simultaneously.
🔑

Create a Google OAuth 2.0 Client

Required for: agentHub, JeZues, JeEeZues, explorer, casinoAi, autoRips, tRiniTy, trinityLoop, and 9 more
ℹ️ Without Google OAuth, affected programs run in "Demo Mode". They are still usable — Google Sign-In is an enhancement, not a blocker for core functionality.
Phantom Wallet (Solana)
13 programs use Phantom for Solana transactions. No server-side setup is needed — users install the browser extension.
👻

Phantom Wallet — User Setup Instructions

Affected programs: 2024, 2042, 2042cc, 2042ccArt, 420, cc2024, ccArtHolo, BloomersHub, enhancedPiSOL, PiSOL
✅ The CCART 3D card programs work fully without Phantom. Wallet is only needed for the optional "Sign with wallet" blockchain feature.

Include User Wallet Setup in Your Deployment (TODO for you)

Add this onboarding notice to your deployment's welcome page or README
GitHub Personal Access Token
The AGENTR Railway variable enables repo scanning, RootIB provenance features, and the GitHub-as-database architecture. It is one of the most impactful variables.
🐙

Create a GitHub Personal Access Token

Required for: githubBackend.html, rootib-provenance-scanner.html, RepoFlix, RepoFlixa, scanner tools
🔧

Create a GitHub OAuth App (for dashboard login)

Required for: dashboard.html, githubBackend.html — enables GitHub Sign-In for your users
OpenAI / AI API Keys
Several programs use AI features. Groq is free and fastest to set up. OpenAI unlocks GPT-4 features.
🤖

Set Up AI API Keys in Railway

Required for: autoRips, trendSmith, aiSchool, MERLIN_P5_CONTROL_PANEL, GGE AI features
💡 Groq is recommended for getting started — it's free, fast, and requires no billing setup. Add OpenAI later for GPT-4 access.
Solana / Pump.fun Integration
22 programs use Solana features. Most work as-is with Phantom wallet, but a faster RPC endpoint improves reliability.

Solana RPC Endpoint (recommended)

Improves: enhancedPiSOL, PiSOL, account.html, admin-forge.html, wallet programs
🪙

Pump.fun Ecosystem — Already Configured

Pump.fun referral and vault wallet are pre-configured in src/systems/pumpfun-ecosystem-config.js
✅ Pump.fun integration is pre-configured. No additional setup required unless you want to change the vault wallet.
Other External APIs
Specific programs need additional keys for specialized features. Complete these to unlock the remaining functionality.
🗺️

Google Maps API

Required for: liveSafe, liveSafeGmap, liveSafeMap, liveSafeMapAdv, liveSafeMapSync, liveSafetyMap, GDRB
📡

Twilio SMS (optional)

Required for: SMS notifications, phone verification features
🎯

Microphone / Hardware Requirements

Required for: gunshotDetector, advGunshotDetector, GDRB, liveSafe, liveSafeGunshotDetection
⚠️ Single-player modes for all poker/casino games work without additional setup. Multiplayer requires a WebSocket server at /poker-ws on Railway.
✉️

Gmail App Password (for Email Notifications)

Required for: contributor welcome emails, payment confirmation emails
🎉

Your Platform is Ready!

You've completed all the gateway configuration steps. Your Barbrick Design platform should now be fully operational.

🔍 Final Verification Checklist

⚠️ Support: If you encounter issues, email BarbrickDesign@gmail.com with your Railway service URL and a description of the problem.
Go to Hub →