Cloudflare Workers enables you to deploy serverless functions or entire application backends globally, drastically reducing latency between your application and users. Combined with Cloudflare Hyperdrive’s caching proxy capabilities, you can achieve exceptional database performance for your B2B applications.Documentation Index
Fetch the complete documentation index at: https://thenile.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
Why Nile with Cloudflare?
Global Scale
Deploy your B2B applications worldwide using Cloudflare Workers, while Nile ensures tenant isolation, auth-scaling, and tenant insights.Accelerated Performance
Leverage Cloudflare Hyperdrive to accelerate database queries, making interactions lightning-fast for your users.Multi-Tenant Isolation
Nile’s tenant-aware architecture ensures that your customers’ data is securely isolated, enabling you to build scalable and compliant apps effortlessly.Simplified Deployment
Combine Nile’s serverless Postgres with Cloudflare’s edge network to streamline the deployment of modern B2B applications with less operational overhead.Optimized for AI Workloads
Build AI-driven, multi-tenant applications with Nile and deploy them globally with Cloudflare. This architecture minimizes latency while easily scaling to millions of embeddings.Quick Start Guide
Create a Database
- Sign up and log in to Nile Console
- Create a new database
- Create your required tables using the SQL editor
- Get your connection string with credentials from the “Connect” tab
Configure Hyperdrive
Create a Hyperdrive configuration using your Nile connection string:Update your
wrangler.toml with the Hyperdrive ID returned from the command above:Deploy
Test your application locally:Deploy to Cloudflare Workers:Your globally accelerated multi-tenant application is now live! 🚀
What's Next?
Now that you have your application running, you can:
- Explore the complete example on GitHub
- Learn more about Nile’s multi-tenant features
- Check out Cloudflare Workers documentation
- Join our Discord community for support