> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xano.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Building with Code

> Learn how to build with code in Xano

With XanoScript able to represent everything you can build in Xano, you can utilize the power and speed of having Xano power your backend without leaving where you're most comfortable -- your favorite IDE.

Coding with XanoScript can happen a couple of different ways:

<Card title="Write XanoScript in Xano" icon="code">
  You can write XanoScript in Xano directly in the XanoScript view. This is a great way to get started with XanoScript and see how it works, especially if you've already used the visual builder.

  <Columns cols={2}>
    <Card title="Look for the Use XanoScript option" icon="code">
      This option will be available when creating most logic in Xano, such as APIs, Custom Functions, Background Tasks, and more.<br />

      <img src="https://mintcdn.com/xano-997cb9ee/NgWyYUIOE6OPGYha/images/introduction-20251002-122904.png?fit=max&auto=format&n=NgWyYUIOE6OPGYha&q=85&s=cd407eea6dc63989ad9fafb96eb93eba" alt="introduction-20251002-122904" width="964" height="1011" data-path="images/introduction-20251002-122904.png" />
    </Card>

    <Card title="Look for the XanoScript option" icon="code">
      In some areas, such as AI Agents that open with a settings panel immediately, you'll see a XanoScript option at the top of the panel.<br />

      <img src="https://mintcdn.com/xano-997cb9ee/NgWyYUIOE6OPGYha/images/introduction-20251002-123221.png?fit=max&auto=format&n=NgWyYUIOE6OPGYha&q=85&s=6015e568b243e6f0fec3675d32b174f5" alt="introduction-20251002-123221" width="761" height="579" data-path="images/introduction-20251002-123221.png" />
    </Card>
  </Columns>
</Card>

<br />

<Card title="Use the VS Code Extension in your favorite IDE" icon="https://mintcdn.com/xano-997cb9ee/aZQYcxhIvSDTNEim/images/icons/vscode.svg?fit=max&auto=format&n=aZQYcxhIvSDTNEim&q=85&s=bb6c91058fcbe6ee28fcda04e03de2e6" width="100" height="100" data-path="images/icons/vscode.svg">
  You can also use the VS Code extension to write XanoScript in an IDE of your choice. You should be able to use any IDE that supports VS Code extensions, such as Cursor or Windsurf, as well as VS Code itself.

  **Get the VS Code extension from the Marketplace [here](https://marketplace.visualstudio.com/items?itemName=xano.xanoscript)**<br />
  **Download directly from [here](https://storage.googleapis.com/xanoscript-vscode/vsix/xano.xanoscript-0.1.0.vsix)**
</Card>

<br />

<Card title="Use the Xano MCP Server with your favorite AI" icon="server">
  Using the Xano MCP server, you're able to connect an AI model to your Xano backend via an MCP client, like Claude or Cursor. The MCP server offers a number of tools to help you build your backend with AI.
</Card>

All of these methods are powered by XanoScript, so you can use them interchangeably. If you want a deeper dive into XanoScript, you can learn more about it [here](/xanoscript/introduction).

<Info>
  **Switching between build modes?** Changes made in one build mode aren't automatically synced to another. For example, if you make changes in the visual builder and then want to continue working in the CLI, you'll need to [pull](/xano-cli/push-pull#pull) your workspace first to get the latest changes. The same applies when switching from any other mode back to the CLI.
</Info>
