> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://contentful.com/developers/docs/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://contentful.com/developers/docs/_mcp/server.

# Ruby example apps

> Example Ruby apps are the best way to start building with Contentful. They show you how to start a project based on example spaces.

Example Ruby apps are the best way to start building with Contentful. They show you how to start a project based on example spaces.

### The Ruby example app

The Ruby example app teaches the very basics of how to work with Contentful:

* consume content from the Contentful Delivery and Preview APIs
* model content
* edit content through the Contentful web app

The app demonstrates how decoupling content from its presentation enables greater flexibility and facilitates shipping higher quality software more quickly.

* [Try it out](https://the-example-app-rb.contentful.com/)
* [View on GitHub](https://github.com/contentful/the-example-app.rb)

### Rails product demo

A Rails application that connects to a Contentful product catalogue example space.

* [View on GitHub](https://github.com/contentful/contentful_rails_tutorial)

### Sinatra product demo

A Sinatra application that connects to a Contentful product catalogue example space.

* [View on GitHub](https://github.com/contentful/contentful_sinatra_tutorial)