# How-tos

> Step-by-step guides for using StackQL - authentication, querying, mutation, AI integration, and governance.

Source: https://stackql.io/ai/how-tos

Each page is one task. Pages follow a consistent shape: prerequisites, the steps, a working example, and "what to check if it didn't work."

## Authentication

- [How to authenticate StackQL to AWS](/ai/how-tos/authenticate-stackql-to-aws)
- [How to authenticate StackQL to Azure](/ai/how-tos/authenticate-stackql-to-azure)
- [How to authenticate StackQL to Google Cloud](/ai/how-tos/authenticate-stackql-to-google-cloud)
- [How to authenticate StackQL to GitHub](/ai/how-tos/authenticate-stackql-to-github)

## Querying

- [How to query AWS EC2 instances with StackQL](/ai/how-tos/query-aws-ec2-instances-with-stackql)
- [How to query S3 buckets with StackQL](/ai/how-tos/query-s3-buckets-with-stackql)
- [How to query GitHub repositories with StackQL](/ai/how-tos/query-github-repositories-with-stackql)

## AI agents

- [How to use StackQL with AI agents](/ai/how-tos/use-stackql-with-ai-agents)
- [How to use StackQL with Claude](/ai/how-tos/use-stackql-with-claude)

## Embedded MCP

- [How to embed the StackQL MCP server in a Go application](/ai/how-tos/embed-stackql-mcp-server-in-go)
- [How to embed the StackQL MCP server in a Rust application](/ai/how-tos/embed-stackql-mcp-server-in-rust)
- [How to embed the StackQL MCP server in a macOS Swift application](/ai/how-tos/embed-stackql-mcp-server-in-swift)
- [How to embed the StackQL MCP server in a Kotlin or JVM application](/ai/how-tos/embed-stackql-mcp-server-in-kotlin)
- [How to embed the StackQL MCP server in a .NET application](/ai/how-tos/embed-stackql-mcp-server-in-dotnet)
- [How to embed the StackQL MCP server in a Gleam application](/ai/how-tos/embed-stackql-mcp-server-in-gleam)
