Services
Services in Nordcraft simplify working with APIs by automatically retrieving endpoint details from backend providers. When you create a service connection, Nordcraft pre-fills the necessary information for new APIs, reducing setup time and minimizing configuration errors.
Nordcraft supports connections to a variety of backend services:
- Supabase: Open-source Postgres database with authentication and real-time capabilities
- Xano: No-code database and API builder
- OpenAPI: Any service using OpenAPI Specification (v2 and v3)
Add a service
There are two ways to add a service in Nordcraft:
From the API creation flow
- 1When creating a new API, click the Connect new button
- 2Select the service you want to connect to from the available options
Configure specific services
Supabase
To connect to Supabase:
- 1Enter a name for the service (defaults to "Supabase")
- 2Provide the following credentials:
- Project URL: The URL of your Supabase project
- Anon public key: The anonymous/public API key for your project
You can find these credentials in your Supabase project settings. Once added, Nordcraft will validate the connection to ensure it can access the API documentation.
To reuse configuration values throughout your project, click the Make Global formula button next to a field. This creates a global formula that can be referenced anywhere else.
Xano
To connect to Xano:
- 1Enter a name for the service (defaults to "Xano")
- 2Provide the Base URL for your Xano API
The Base URL can be found in your Xano workspace:
- Select API in the left menu
- Choose the API group you want to use
- Click the Copy base URL button in the top right corner
After it's added, Nordcraft checks the connection to confirm it can reach the API documentation.
Nordcraft currently only supports public Xano API documentation. If your API documentation is private, you will need to make it public.
To make your API documentation public:
- 1Go to your Xano API group
- 2Click the More options button (three dots) in the top right
- 3Select Settings
- 4Change Swagger (OpenAPI) Documentation to Public
Custom service (OpenAPI)
For services not natively supported by Nordcraft, you can add a custom service using OpenAPI specification:
- 1Enter a name for the service (defaults to "Custom")
- 2Configure the following:
- Base URL: The root URL that will be applied to all paths in the service
- Docs URL: The URL to the OpenAPI JSON Specification file of the service
Nordcraft performs a check after setup to confirm the API documentation is accessible.
Nordcraft currently supports OpenAPI Specification versions 2 and 3.
Use a service in an API
Once your services are configured, they simplify the API creation process by providing pre-defined endpoints from your backend:
- 1When creating a new API, you will see your connected services
- 2Choose the endpoint from the available options of your selected service
- 3Nordcraft automatically pre-fills all request details (path, headers, parameters, body)
- 4Adjust specific values as needed for your implementation
This approach streamlines API creation by leveraging the schema information already defined in your backend service.
Benefits of services
Connecting to services offers several advantages:
- Reduced configuration time: Automatically populate API endpoints with correct paths and parameters
- Consistency: Ensure proper formatting for requests based on the service's documentation
- Discovery: Easily browse available endpoints without referring to external documentation
- Maintainability: When your backend service changes, updating the connection in one place applies across all related APIs
Services help bridge the gap between frontend and backend development, making it easier to maintain a clean separation of concerns while ensuring proper integration.