Learn
The supporting cast
Two of Swords works alongside other tools and services. Some run the application, some help you build it, and some you connect when a workflow needs them. The current stack direction is Clerk, Neon, Vercel, and Resend, with Vercel Blob for files. Alternatives are listed for context. They are not all integrated today, and they are not always interchangeable.
- Application runtime
- Services the running application depends on: authentication, the Postgres database, hosting, document storage, email, and monitoring.
- Development tools
- Tools your team uses to build and change Two of Swords: coding agents, repositories, and, optionally, project management.
- Optional business integrations
- Outside services you connect when your workflows call for them, such as business verification, identity checks, and bank connections.
On this page
Development tool
AI for building
Coding agents that help you read, change, and extend the Two of Swords codebase: adding a workflow, wiring an integration, or writing tests.
- How it fits
- These tools work on your repository, not inside the running application. Using AI to act inside Two of Swords — requesting documents, running reports, moving applications — is a separate topic covered on the AI page. Read about AI in Two of Swords.
- Choosing a provider
- Where the agent works: your terminal, your editor, or a cloud task that opens pull requests.
- How changes reach your codebase, and how they fit your review process.
- Your organization's policies for code and data shared with model providers.
- Providers
- Codex(opens in a new tab)
OpenAI's coding agent, available in the terminal, the editor, and as cloud tasks.
- Claude Code(opens in a new tab)
Anthropic's agentic coding tool for the terminal and editor.
- Cursor(opens in a new tab)
An AI code editor with agents built into the editing experience.
Optional development tool
Project management
A place to plan the work around your platform: issues, roadmaps, releases, and the conversations behind them.
- How it fits
- Optional. Two of Swords does not depend on any project management tool to run. Pick whatever your team already plans in.
- Choosing a provider
- How closely issues need to connect to repositories and pull requests.
- What your team, and the people you build with, already use.
- Whether coding agents should be able to read and update issues.
- Providers
- Linear(opens in a new tab)
Issue tracking and product planning for software teams.
- Jira(opens in a new tab)
Atlassian's work tracking for software and project teams.
- GitHub Issues(opens in a new tab)
Issues and projects that live alongside your GitHub repositories.
Application runtime
Authentication & users
Sign-in, sessions, and user management for the people who use your platform: your staff, your partners, and your applicants.
- How it fits
- Two of Swords relies on an authentication service to know who is acting. Customers, applications, and documents remain records in your own database. The current direction is Clerk.
- Choosing a provider
- Support for organizations and roles, if partners or teams share access.
- Multi-factor authentication and single sign-on requirements.
- Where user data is stored, and how you would migrate if you change providers.
- Providers
- Clerk(opens in a new tab)Current direction
User management with prebuilt sign-in components, sessions, and organizations.
- Supabase Auth(opens in a new tab)
Authentication built into Supabase, with users stored in your Supabase Postgres database.
- Auth0(opens in a new tab)
Okta's identity platform, with broad enterprise single sign-on support.
Application runtime
Postgres database
The system of record. Opportunities, applications, customers, residuals, and their relationships all live in Postgres.
- How it fits
- Two of Swords is built on Postgres, so any of these can host the data. They differ in how they are operated, not in what they store. The current direction is Neon.
- Choosing a provider
- Database branches for preview deployments and safe testing.
- Backups, point-in-time recovery, and the region your data lives in.
- Connection pooling for serverless hosting, and your compliance requirements.
- Providers
- Neon(opens in a new tab)Current direction
Serverless Postgres with instant branching and autoscaling.
- Supabase(opens in a new tab)
A Postgres database with authentication, storage, and APIs around it.
- Amazon RDS(opens in a new tab)
Managed PostgreSQL on AWS, suited to teams already operating there.
Application runtime
Code & deployments
Two separate jobs: a repository where your code is reviewed and versioned, and a host that builds and serves the application.
- How it fits
- GitHub and GitLab hold the code and the review process. Vercel builds and hosts the application, with a preview deployment for each change. The current direction for hosting is Vercel.
- Choosing a provider
- Branch protection and required reviews on the repository.
- Preview deployments for every pull request, so changes can be checked before release.
- How environment variables and secrets are managed per environment.
- Providers
- GitHub(opens in a new tab)
Repositories, pull requests, and Actions for code collaboration.
- GitLab(opens in a new tab)
Repositories and merge requests with built-in CI/CD.
- Vercel(opens in a new tab)Current direction
Builds, previews, and hosts the Next.js application.
Application runtime
Document storage
Where files live: uploaded bank statements, IDs, signed agreements, mapped PDFs, and generated artifacts.
- How it fits
- Files are kept in object storage, and records in Postgres point to them. The current direction is Vercel Blob.
- Choosing a provider
- Private access by default, with short-lived links for viewing and downloading.
- Retention and deletion rules for sensitive documents.
- Encryption, storage region, and file size limits.
- Providers
- Vercel Blob(opens in a new tab)Current direction
Object storage integrated with Vercel projects.
- Supabase Storage(opens in a new tab)
File storage with access policies tied to Supabase Auth.
- Amazon S3(opens in a new tab)
Object storage on AWS.
Application runtime
Transactional email
The email the platform sends on its own: invitations, document requests, signature reminders, and status updates.
- How it fits
- Two of Swords sends system messages through an email provider. This is not marketing email. The current direction is Resend.
- Choosing a provider
- Domain authentication (SPF, DKIM, DMARC) so messages reach inboxes.
- Delivery events and bounces, so the platform knows what arrived.
- How templates are written and kept in sync with the application.
- Providers
- Resend(opens in a new tab)Current direction
An email API for developers, with templates written in React.
- SendGrid(opens in a new tab)
Twilio's email delivery platform.
- Postmark(opens in a new tab)
Transactional email focused on fast, reliable delivery.
Application runtime
Monitoring & analytics
Two different questions: is something broken, and how are people using the product.
- How it fits
- Error monitoring captures exceptions and slow requests so you can fix them. Product analytics measures how people move through applications and workflows. They are separate jobs, even where one tool offers both.
- Choosing a provider
- Keep applicant and customer data out of events, logs, and session recordings.
- Who on your team needs alerts, and who needs dashboards.
- Sampling and retention, so you keep what is useful.
- Providers
- Sentry(opens in a new tab)
Error and performance monitoring for application code.
- PostHog(opens in a new tab)
Product analytics, with session replay and feature flags.
- Datadog(opens in a new tab)
Infrastructure, log, and application performance monitoring in one platform.
Optional business integration
Verification & risk
Outside checks on the businesses and people behind an application.
- How it fits
- These providers do different jobs: business verification, personal identity, bank connections, and fraud signals. Their results belong in the Risk & fraud and Business ownership records, alongside the application they support. See the Risk & fraud primitive.
- Choosing a provider
- Which job you need done, since these providers are not interchangeable.
- Consent, permissible purpose, and the disclosures your partners require.
- Coverage for the businesses, people, and regions you work with.
- Providers
- Middesk(opens in a new tab)
Business verification: confirming that a business is registered, active, and who it says it is.
- Socure(opens in a new tab)
Personal identity verification and fraud risk signals.
- Plaid(opens in a new tab)
Bank account connections, for account details, balances, and transactions.