# All Aboard API Documentation > Tools for selling train tickets and rail passes across Europe via GraphQL API, embeds, and dashboard. ## Getting Started - [Introduction](https://docs.allaboard.eu/index.md): The All Aboard API provides tools for selling train tickets and rail passes across Europe. - [Getting Started](https://docs.allaboard.eu/intro/getting-started.md): Before you start, you'll need: - [API Scopes](https://docs.allaboard.eu/intro/scopes.md): API keys are created and managed from the [Dashboard](https://allaboard.eu/agent). - [Access Tokens](https://docs.allaboard.eu/intro/access-tokens.md): An **access token** is a credential that reaches one order and nothing else. - [Key Concepts](https://docs.allaboard.eu/intro/concepts.md): Understanding rail-specific terminology helps you build better integrations and communicate clearly with users. - [Distance and CO2](https://docs.allaboard.eu/intro/distance-and-co2.md): Every segment in the API carries the distance one passenger travels on it and the CO2 that passenger's trip emits, and this page explains how both figures are made. - [Booking Flows](https://docs.allaboard.eu/intro/booking-flows.md): This guide shows the complete end-to-end flows for booking tickets and rail passes, from initial search to confirmed purchase. - [Subscriptions & Streaming](https://docs.allaboard.eu/intro/subscriptions.md): On rare occasions, some API operations can take up to 30 seconds to complete. - [Query Anything by ID](https://docs.allaboard.eu/intro/node.md): Many objects in the API have unique IDs and implement the [`Node`](/ref/types#Node) interface. ## Booking Tickets - [Finding Journeys](https://docs.allaboard.eu/tickets/index.md): Before you can book tickets, you need to find available train routes between locations. - [Getting Offers](https://docs.allaboard.eu/tickets/journey-offer.md): Once you've found a journey, the next step is getting pricing options, what we call **offers**. - [Booking Tickets](https://docs.allaboard.eu/tickets/book-tickets.md): This guide covers the complete booking process, from creating a booking to receiving confirmed tickets. - [Travel Cards](https://docs.allaboard.eu/tickets/travel-cards.md): Many travelers hold a card that changes what they pay: a discount card like a BahnCard or a Carte Avantage, an operator's loyalty card, a railcard in the UK, or a rail pass such as Interrail. - [Corporate Codes](https://docs.allaboard.eu/tickets/corporate-codes.md): A company with a negotiated rate holds a **corporate agreement code** with an operator. - [Blueprints](https://docs.allaboard.eu/blueprints/index.md): Blueprints are pre-defined journey itineraries that you create once and reuse. ## Booking Rail Passes - [Finding Rail Passes](https://docs.allaboard.eu/passes/index.md): Rail passes offer flexible travel across Europe. - [Booking Rail Passes](https://docs.allaboard.eu/passes/booking.md): Booking rail passes follows the same flow as booking tickets: create a booking, add passenger details, then create and finalize an order. ## Orders & Payments - [Orders](https://docs.allaboard.eu/orders.md): Orders represent confirmed purchases. - [Payment Methods](https://docs.allaboard.eu/payments/index.md): The All Aboard API supports three ways to pay for orders, each suited to different use cases. - [Cost Centers](https://docs.allaboard.eu/payments/cost-centers.md): A **cost center** is a named billing configuration on your sales agent. - [Fees and Reconciliation](https://docs.allaboard.eu/payments/fees.md): Commercial terms vary by client and are agreed separately. ## Manage Orders - [Refunds](https://docs.allaboard.eu/refunds/index.md): Refunds allow you to return purchased tickets and rail passes to the original payment method. ## Embeds - [Overview](https://docs.allaboard.eu/embeds/index.md): Embeds provide a simple way to add train content to your website without investing time or effort in complex technologies. - [Journey List](https://docs.allaboard.eu/embeds/aa-journey-list.md): Building an interface for finding and comparing journeys can be more complex than it first seems. - [Offer Selection](https://docs.allaboard.eu/embeds/aa-offer-selection.md): The Offer Selection embed is an interface for selecting an offer, place properties and ancillaries for a given [`JourneyOfferSelection`](/ref/types#JourneyOfferSelection). - [Rail Pass List](https://docs.allaboard.eu/embeds/aa-passbundle-list.md): There is a great variety of rail passes available in the All Aboard API, and to make displaying the options to your customers easier, we offer the embeddable Rail Pass List. - [Rail Pass Modal](https://docs.allaboard.eu/embeds/aa-passbundle-modal.md): All Aboard offers many different rail passes. - [Refund Manager](https://docs.allaboard.eu/embeds/aa-refund-manager-modal.md): The Refund Manager embed provides a complete interface for managing refunds on an order. ## Reference - [API Types](https://docs.allaboard.eu/ref/types): Available via the API schema introspection or the All Aboard MCP server - [Error Codes](https://docs.allaboard.eu/ref/errors.md): Errors occur even in the best of systems, and we always try to provide sensible error codes to help you handle the error properly. ## MCP - [MCP Server](https://docs.allaboard.eu/mcp/index.md): Our MCP ([Model Context Protocol](https://modelcontextprotocol.io/)) gives AI assistants and agents direct access to the All Aboard documentation and API. - [Tools](https://docs.allaboard.eu/mcp/tools.md): The All Aboard MCP server exposes the following tools to the model.