# Quick Start Guide

## Quick Start Guide

This guide walks through the most common workflows with the ChainGPT plugin, from simple questions to full project scaffolding.

### Talk to Claude naturally

Once the plugin is installed, you don't need to learn special commands. Just describe what you want in plain language:

```
"Build me a Web3 AI chatbot with streaming responses"
```

```
"Generate and mint an NFT on BSC using ChainGPT"
```

```
"Set up smart contract auditing in my CI/CD pipeline"
```

```
"What's the credit cost for generating 100 NFTs with NebulaForge XL?"
```

Claude will use the plugin's API reference to generate correct, production-ready code on the first try — including the right SDK imports, endpoint URLs, parameter formats, and error handling.

### Use MCP tools for direct API access

If the MCP server is configured, Claude can call ChainGPT APIs directly from the conversation, not just generate code. For example:

**Ask a crypto question:**

```
"Ask the ChainGPT chatbot: What is the current ETH price and market sentiment?"
```

**Generate an image:**

```
"Generate an AI image of a cyberpunk dragon guarding a blockchain vault"
```

**Audit a contract:**

```
"Audit this Solidity contract for vulnerabilities: [paste contract code]"
```

**Fetch news:**

```
"Get the latest DeFi news from ChainGPT"
```

### Scaffold a project

The plugin includes 10 production-ready templates. Ask Claude to scaffold a project and it will generate the complete file structure:

```
"Scaffold an NFT marketplace that uses 4 ChainGPT products"
```

Claude will read the appropriate template and generate a working starter project with the correct dependencies, SDK configuration, service layer, API routes, and a demo script.

Available templates include: Web3 AI Chatbot (Express), NFT Minting Service, Contract Audit CI/CD, Crypto News Dashboard, AI Twitter Agent, NFT Marketplace (Next.js), DeFi Dashboard (React), Next.js Chatbot, React Native Wallet, and Nuxt News App.

### Generate smart contracts from patterns

When you ask Claude to write a Solidity contract, it composes from 45+ audited, gas-optimized patterns rather than generating from scratch:

```
"Write a staking contract with reward distribution"
```

```
"Create an ERC-20 token with 2% burn on transfer and owner-only minting"
```

The patterns cover ERC-20 tokens (10 variants), NFTs (10 patterns), DeFi (10 patterns), governance (5 patterns), and security (10 patterns).

### Use the interactive playground

Test any ChainGPT API endpoint live without writing code:

```
/chaingpt-playground
```

The playground walks you through selecting a product, configuring parameters, confirming the credit cost, and executing a real API request — all from within Claude Code.

### Debug API issues

If you encounter an error with a ChainGPT integration, use the debug skill:

```
/chaingpt-debug
```

Provide an error message, HTTP status code, or description of unexpected behavior, and the debug assistant will systematically diagnose the issue and provide the exact fix.

### Hackathon mode

At a hackathon? Scaffold a complete, submission-ready project in 60 seconds:

```
/chaingpt-hackathon
```

Choose a track (DeFi, NFT, Gaming, Social, or Infrastructure), and the scaffolder generates every file you need: package.json, TypeScript config, service layer, API routes, a demo script with visual console output, and a README formatted for hackathon judges.

### Common workflows

| What you want to do      | What to ask Claude                                       |
| ------------------------ | -------------------------------------------------------- |
| Integrate a chatbot      | "Build a Web3 AI chatbot with streaming responses"       |
| Generate and mint NFTs   | "Generate and mint an NFT on Polygon"                    |
| Audit a contract         | "Audit this contract: \[paste code]"                     |
| Set up CI/CD auditing    | "Set up smart contract auditing in GitHub Actions"       |
| Build a news feed        | "Build a crypto news dashboard with category filtering"  |
| Estimate costs           | "What's the cost to run 1,000 chat requests per day?"    |
| Migrate from OpenAI      | "I'm migrating from OpenAI — help me switch to ChainGPT" |
| Write a staking contract | "Write a staking contract" (uses patterns library)       |
| Test without credits     | "Set up the mock server for development"                 |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.chaingpt.org/dev-docs-b2b-saas-api-and-sdk/chaingpt-claude-skill-and-plugin/getting-started/quick-start-guide.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
