Skip to main content

Quick Start

Welcome to Cloud Development! This guide will help you quickly get started in 5 minutes and build your first application.

🚀 Choose Your Development Scenario

Select the corresponding Quick Start path based on the type of application you want to develop:

Development ScenarioApplicable ScenariosRecommended ToolsFeaturesQuick Start
📱 WeChat Mini Program DevelopmentDeveloping WeChat Mini ProgramsCloud Development Capabilities• Deep integration with the WeChat ecosystem
• Out-of-the-box cloud development capabilities
• Supports cloud functions, cloud databases, and cloud storage
Start Mini Program Development →
🌐 Web Application DevelopmentDeveloping websites, H5 applications, or web applicationsCloudBase static hosting and backend services• Supports static website hosting
• Provides complete backend services
• Supports mainstream frameworks like React and Vue
Start Web Development →
🎮 WeChat Mini Game DevelopmentDeveloping WeChat Mini GamesCloud Development Capabilities• Provides game server hosting
• Supports real-time battle and leaderboard features
• High-performance game data storage
Mini Game Development Guide →
☁️ Hosted Backend ServicesDeveloping API services, data processing services, and scheduled tasksCloud Functions, Cloud Run• Automatic elastic scaling
• Pay-as-you-go billing
• Supports multiple programming languages
Backend Service Development →
🤖 AI Development Tool DevelopmentIntegrating AI capabilities into applicationsCloudBase AI ToolkitAI-Powered Development: Automatically generates code and architectural designs
CloudBase Integration: One-click access to databases, cloud functions, and static hosting
Rapid Deployment: Full-stack application launch within minutes
Full-Stack Support: Integrated support for Web + Mini Programs + Backend
Intelligent Troubleshooting: AI automatically reviews logs and fixes issues
AI Development Guide →

📋 Pre-development Preparation

No matter which development approach you choose, you need to:

1. Enable the CloudBase Environment

The cloud development environment is the backend infrastructure for your applications, including database, storage, cloud functions, and other services.

Activate Environment Now →

2. Install development tools (Optional)

If you need to use the CLI tool for development and deployment:

Install CLI Tool →

🎯 5-Minute Quick Experience

Want to quickly experience Cloud Development capabilities? We've prepared the simplest getting-started example for you:

Web Quick Experience

<!DOCTYPE html>
<html>

<head>
<script src="https://static.cloudbase.net/cloudbase-js-sdk/2.17.3/cloudbase.full.js"></script>
</head>

<body>
<h1>Hello CloudBase!</h1>
<script>
// Initialize CloudBase
const app = cloudbase.init({
env: 'your environment ID' // Replace with your environment ID
});

// Anonymous login
const login = async () => {
const auth = app.auth()
await auth.signInAnonymously()
console.log('Login successful!');
const userInfo = await auth.getUserInfo();
alert(`CloudBase connected successfully! ${userInfo.name}`);
}

login()
</script>
</body>

</html>

Mini Program Quick Experience

// app.js
App({
onLaunch() {
// Initialize CloudBase
wx.cloud.init({
env: 'your environment ID' // Replace with your environment ID
});
console.log('CloudBase initialization completed');
}
});

� Get Help

Encountered an issue? We provide multiple support options:


Are you ready? Select any path above to start your cloud development journey!