[Integrations](https://spiral.ai/integrations) › [Factory Droid](https://spiral.ai/integrations/factory-droid) › [Railway deployment templates](https://spiral.ai/integrations/factory-droid/railway-deployment-templates)

# How to Use Railway deployment templates in Factory Droid

Find published Railway deployment templates for software such as n8n, Redis, or Django. Use the results to shortlist reusable service configurations before inspecting a template's deployment details.

|  |  |
| --- | --- |
| Model | Railway deployment templates |
| Available through | Alexandria |
| Category | Developer |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Railway deployment templates in Factory Droid

- Use Railway deployment templates to find n8n with workers candidates and create a shortlist for the automation service described in this repository.
- Use Railway deployment templates to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Railway deployment templates and tell me what changed since last week.
- Check Railway deployment templates and summarize what you find in three bullet points.
- Pull the newest data from Railway deployment templates and give me the result as a table.

## How to set up Railway deployment templates in Factory Droid

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the server**: Droid saves it to your user config, `~/.factory/mcp.json`, so it works in every project.

```bash
droid mcp add spiral https://api.spiral.ai/mcp --type http
```

2. **Sign in**: Start `droid`, type `/mcp`, select spiral and authenticate it. Sign in to Spiral in the browser and click Authorize. No API key.

3. **Check it**: Spiral shows as connected. needs authentication means the sign-in did not finish: run `/mcp` again.

```bash
droid mcp list
```

### Use the Spiral skill

1. **Send Factory Droid this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Railway deployment templates**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "railway-com/developer-documentation/search_templates",
    "input": {
      "q": "<q>"
    }
  }'
```

Then paste one of the prompts above: Factory Droid finds Railway deployment templates on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/factory-droid

## Railway deployment templates tools and prices

- [Railway · Search templates](https://spiral.ai/tools/alexandria/railway-com/developer-documentation/search_templates) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| q |  | — | Words to match, e.g. `postgres` or `n8n worker`. |
| limit | 1 to 200 | — | Maximum records, 1-200. Defaults to 25. |
| offset | 0 to 100000 | — | Records to skip; pass the previous call's continuation. Defaults to 0. |
| status | validated, degraded, unvalidated | — | Keep only templates with this validation status. |

## What can you do with Railway deployment templates in Factory Droid?

Build a Railway deployment review that matches the repository's framework and services. A coding agent can collect documentation links, announcements, incident references, or template candidates and use them to guide its next inspection.

### Prepare a production readiness review

Gather Railway documentation links, relevant product announcements, published incidents, and candidate templates for a Django and Postgres application. Turn the findings into questions to resolve before launch.

### Evaluate hosting n8n

Shortlist n8n deployment templates, find networking and storage guidance, and review relevant Railway announcements and incidents. Assemble the evidence needed to assess hosting requirements.

### Assess a migration from Heroku

Collect Railway migration documentation, starter templates for the application's framework, recent product announcements, and published incident history. Use them to build a migration review agenda.

### Create a weekly Railway maintenance brief

Collect new product announcements and published incidents alongside documentation links and template candidates for the team's stack. Highlight items that warrant a technical review.

### Build an onboarding reading list

Pair Railway documentation links for Django, Postgres, and private networking with deployment template candidates. Give new engineers a focused set of references and examples to inspect.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Factory Droid guides](https://spiral.ai/integrations/factory-droid)

## Railway deployment templates in other agents

- [Amp](https://spiral.ai/integrations/amp/railway-deployment-templates)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/railway-deployment-templates)
- [Claude](https://spiral.ai/integrations/claude-desktop/railway-deployment-templates)
- [Claude Code](https://spiral.ai/integrations/claude-code/railway-deployment-templates)
- [Cline](https://spiral.ai/integrations/cline/railway-deployment-templates)
- [Codex](https://spiral.ai/integrations/codex/railway-deployment-templates)
- [Cursor](https://spiral.ai/integrations/cursor/railway-deployment-templates)
- [Devin](https://spiral.ai/integrations/devin/railway-deployment-templates)
- [dots](https://spiral.ai/integrations/dots/railway-deployment-templates)
- [Gemini](https://spiral.ai/integrations/gemini/railway-deployment-templates)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/railway-deployment-templates)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/railway-deployment-templates)
- [goose](https://spiral.ai/integrations/goose/railway-deployment-templates)
- [Grok](https://spiral.ai/integrations/grok/railway-deployment-templates)
- [Grok Build](https://spiral.ai/integrations/grok-build/railway-deployment-templates)
- [Hermes](https://spiral.ai/integrations/hermes/railway-deployment-templates)
- [Instinct](https://spiral.ai/integrations/instinct/railway-deployment-templates)
- [Manus](https://spiral.ai/integrations/manus/railway-deployment-templates)
- [Muse](https://spiral.ai/integrations/muse/railway-deployment-templates)
- [Muse Code](https://spiral.ai/integrations/muse-code/railway-deployment-templates)
- [n8n](https://spiral.ai/integrations/n8n/railway-deployment-templates)
- [Notion](https://spiral.ai/integrations/notion/railway-deployment-templates)
- [OpenClaw](https://spiral.ai/integrations/openclaw/railway-deployment-templates)
- [opencode](https://spiral.ai/integrations/opencode/railway-deployment-templates)
- [Perplexity](https://spiral.ai/integrations/perplexity/railway-deployment-templates)
- [Raycast](https://spiral.ai/integrations/raycast/railway-deployment-templates)
- [VS Code](https://spiral.ai/integrations/vscode/railway-deployment-templates)
- [Windsurf](https://spiral.ai/integrations/windsurf/railway-deployment-templates)
- [Zapier](https://spiral.ai/integrations/zapier/railway-deployment-templates)

## More Factory Droid guides

- [Railway deployment template](https://spiral.ai/integrations/factory-droid/railway-deployment-template)
- [Railway documentation index](https://spiral.ai/integrations/factory-droid/railway-documentation-index)
- [Railway company and legal page](https://spiral.ai/integrations/factory-droid/railway-company-and-legal-page)
- [Railway documentation page](https://spiral.ai/integrations/factory-droid/railway-documentation-page)
- [Railway changelog entry](https://spiral.ai/integrations/factory-droid/railway-changelog-entry)
- [Railway incident history](https://spiral.ai/integrations/factory-droid/railway-incident-history)

## Questions about Railway deployment templates in Factory Droid

**Can Factory Droid use Railway deployment templates?**

Yes. Add Spiral to Factory Droid as an MCP server, and Factory Droid can find and run Railway deployment templates like any built-in tool.

**How much does Railway deployment templates cost in Factory Droid?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Factory Droid plan is separate.

**Do I need an Alexandria account to use Railway deployment templates in Factory Droid?**

No. Spiral runs Railway deployment templates on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Railway deployment templates in Factory Droid?**

About two minutes: add the server, then sign in, then check it.

**Does Factory Droid wait while Railway deployment templates runs?**

Railway deployment templates runs in the background. Factory Droid starts the run, checks on it and gives you the json when it's ready.

**What Railway information does this source cover?**

It covers public Railway content, including documentation, product announcements, published incidents, and deployment templates. The documentation spans deployment, service configuration, data, networking, observability, and the CLI.

**How often does Railway publish product updates?**

Railway describes its changelog as weekly product updates, with coverage dating back to 2021. Entries are dated, so you can identify the announcement period for a feature.

**Does Railway's incident history include every service problem?**

The status page says it covers significant, widespread user impact and excludes smaller or isolated issues. An empty incident search therefore cannot establish that a particular application had no problems.

**When does Railway's reported incident duration begin?**

Railway counts an incident from when it publishes the incident to when it resolves it. That interval should not be treated as a measurement of when every affected application's symptoms began.

**What does a Railway deployment template represent?**

A template packages a service or set of services into a reusable configuration. Marketplace results include named software templates with descriptions, such as n8n with workers.

