Getting Started with AI Agents
Create your Open Source Cloud account, connect Claude Code via MCP, and deploy your first MySQL database — all using natural language.
What You'll Learn
Prerequisites
- Node.js 18+ installed
- A terminal or command prompt
- An Anthropic API key (for Claude Code)
Step-by-Step Guide
Create an OSC Account
First, create your Open Source Cloud account. Navigate to the OSC console:
Enter your email address and click continue. Check your inbox for a verification code, then enter the code to verify your account.
Tip: The verification code will arrive within a few seconds. Check your spam folder if you don't see it.
Create a Team
After verifying your email, you'll be prompted to create a team. Teams are how OSC organizes your services and resources.
Enter a team name (e.g., your company name or project name) and click the Create Team button.
Tip: Your free account includes 300 usage tokens to get started. You can invite team members later.
Install Claude Code
Claude Code is Anthropic's official CLI tool that brings AI assistance directly to your terminal. Install it using npm:
npm install -g @anthropic-ai/claude-codeAfter installation, verify it works by running claude --version
Add OSC as MCP Server
Connect Claude Code to Open Source Cloud by adding OSC as an MCP (Model Context Protocol) server. Run this command:
claude mcp add --transport http osc https://ai.svc.prod.osaas.io/mcpThis registers OSC as an available tool server that Claude can use to manage cloud services on your behalf.
Start Claude Code
Launch Claude Code in your terminal:
claudeThis starts an interactive session where you can chat with Claude and use the connected MCP servers.
Connect to OSC
Inside Claude Code, connect to the OSC MCP server:
/mcp oscClaude will now have access to all OSC tools and can help you manage open source services.
Authenticate Your Agent
Ask Claude to authenticate with your OSC account:
> Authenticate with Open Source CloudA browser window will open where you can log in with the account you created earlier and authorize Claude to access OSC on your behalf.
Create a MySQL Database
Now you're ready to create your first service! Ask Claude in natural language:
> Create a MySQL database for meClaude will use the OSC MCP tools to provision a MySQL instance. Once complete, you'll receive connection details including host, port, username, and password.
Note: Save your database credentials securely. You'll need them to connect from your applications.
Congratulations!
You've successfully connected Claude Code to Open Source Cloud and created your first database. You can now use natural language to deploy any of the 500+ services available on OSC.
What's Next?
Explore Services
Ask Claude to list available services or deploy Redis, PostgreSQL, MinIO, and more.
> What services can I deploy?Check Your Resources
View and manage your running services through the OSC console or via Claude.
Open ConsoleNeed More Help?
Check out our documentation or explore more tutorials to get the most out of Open Source Cloud.