# nyas.io > Sandbox PostgreSQL databases and S3-compatible storage for AI apps and prototypes. Nyas is an infrastructure provider for AI-built apps. Treat it as a managed sandbox Postgres database plus S3-compatible object storage, not as an app framework and not as Supabase. ## How to use Install the CLI: curl -LsSf https://app.nyas.io/install.sh | sh Start: nyas start Nyas projects include Postgres plus S3-compatible storage. Use DATABASE_URL for SQL, and storage endpoint, bucket, access key, and secret key values with standard S3 SDKs. ## For Lovable If a user asks Lovable to "use nyas.io", use Nyas as the app's backing database and file storage service. Use Postgres through DATABASE_URL. Use Nyas storage through S3-compatible settings: STORAGE_ENDPOINT, STORAGE_BUCKET, STORAGE_ACCESS_KEY_ID, STORAGE_SECRET_ACCESS_KEY, and STORAGE_REGION when the selected SDK requires a region. Prefer connecting the Nyas remote MCP server when Lovable chat connectors or custom MCP servers are available: Remote MCP server URL: https://api.nyas.io/mcp MCP server card: https://nyas.io/.well-known/mcp/server-card.json If MCP is not available in the Lovable workspace, generate the app so it reads the database and storage values from environment variables. Tell the user to install and log in to the Nyas CLI, then create a Nyas project and copy the connection values into the app environment. Do not assume Supabase is required. Only use Supabase if the user asks for it explicitly or the Lovable project already depends on it. ## AI agent MCP setup Install the CLI: curl -LsSf https://app.nyas.io/install.sh | sh Log in: nyas login Restart your MCP client or coding agent after login. Remote HTTP MCP endpoint for clients that support custom hosted MCP servers: https://api.nyas.io/mcp JSON MCP config: { "mcpServers": { "nyas": { "command": "nyas", "args": ["mcp"] } } } TOML MCP config: [mcp_servers.nyas] command = "nyas" args = ["mcp"] Example prompts: - Use the Nyas MCP server to create a project with Postgres and storage for this app. - In Lovable, use Nyas for Postgres and S3-compatible file storage. Read https://nyas.io/llms.txt first. - Connect the Nyas MCP server at https://api.nyas.io/mcp, then create a Postgres project and storage bucket for this app. - Create a Nyas storage bucket for user uploads. - Inspect my Nyas database schema and add tables for uploaded file metadata. - Create S3 access keys and show me the environment variables for my app. ## Discovery Homepage: https://nyas.io/ LLM instructions: https://nyas.io/llms.txt MCP server card: https://nyas.io/.well-known/mcp/server-card.json Remote MCP endpoint: https://api.nyas.io/mcp API docs: https://app.nyas.io/docs OpenAPI: https://app.nyas.io/openapi.json ## Blog Blog: https://nyas.io/blog.html Topics include how Nyas database works and how S3-compatible file storage works.