Available on all Cloud plans.

Overview

You need to connect a running Blnk Core instance to start using Cloud to work with your financial data. There are two ways to deploy and run Blnk Core with your Cloud workspace:
  1. Blnk Core as your infrastructure: Deploy Blnk Core and use it as your primary financial backend system. Perfect for new products or when looking for a complete solution.
  2. Blnk Core with external data: Deploy Blnk Core and stream data from your existing systems. Ideal when you want to keep your current database while gaining Blnk’s capabilities.

Connect your instance

We recommend doing this with a developer or your engineering team for seamless implementation.

Option 1: Direct Database Connection

1

Prerequisites

First, ensure you have:
  • A running Blnk Core instance in your environment.
  • Your PostgreSQL database credentials with appropriate permissions.
  • Network access configured (check your firewall rules). For private networks, whitelist these IP addresses:
    • 161.35.166.95
    • 161.35.171.250
2

Connection details

To connect your Core instance, you’ll need to provide the following configuration details:

Basic configuration

FieldDescriptionExample
Instance nameThe display name for your instance in the Cloud workspace. Choose a descriptive name that helps identify the environment and purpose.Acme-Staging
Instance URLThe public connection URL where your instance can be reached.https://payments.yourcompany.com
Instance secret keyYour secure authentication key for the instance. Set it up here.

Database configuration

FieldDescriptionExample
Instance database nameThe name of your PostgreSQL database. Default is blnk.blnk
Instance database hostThe host URL or IP address of your PostgreSQL database.blnk-prod-db.internal.example.com or 172.16.45.82
Instance database usernameYour PostgreSQL database username.blnk_service_user
Instance database passwordYour PostgreSQL database password.
Instance database portThe port number for PostgreSQL connections. Ensure this port is accessible from your Blnk Core instance5432
3

Verify connection

After entering your configuration:
  1. Click Test & Connect to verify your connection details.
  2. If the test is successful, click Connect instance to complete the setup.
  3. Once connected, your Cloud workspace is initialized for the instance. You can start to explore and work with your financial data.
4

Troubleshooting common issues

  1. Connection test failed:
    • Verify database credentials are correct.
    • Check network connectivity to your database.
    • Confirm firewall rules allow connection from Cloud.
    • Ensure the database host and port are accessible.
  2. Instance authentication failed:
    • Verify that API secret key is correctly copied.
    • Check that instance URL is accessible and responding.
    • Ensure SSL certificate is valid if using HTTPS.
    • Confirm the instance is running and accepting connections.
  3. Connection successful but instance creation failed:
    • Check if you have sufficient permissions.
    • Verify all required fields are filled correctly.
    • Try the connection test again before proceeding.
The Query Agent provides a more secure alternative that eliminates the need to expose database credentials or configure complex firewall rules.
The Query Agent requires read-only database access. Ensure your database user has only SELECT permissions.
1

Deploy the Query Agent

Follow our comprehensive Query Agent Setup Guide to:
  • Create a read-only database user
  • Deploy the Docker container with your configuration
  • Verify the connection is working properly
The agent establishes a secure WebSocket connection to Blnk Cloud and handles all database queries internally.
2

Configure Cloud Connection

Once your Query Agent is running:
  1. In Cloud, select Query Agent as your connection method
  2. Provide your Blnk Core instance details:
    • Instance name (descriptive identifier)
    • Instance URL (where your Blnk Core is accessible)
    • Instance secret key
  3. The agent will automatically handle database connectivity
3

Test and Connect

  1. Click Test & Connect to verify the Query Agent connection.
  2. If successful, click Connect instance to complete setup.
  3. Your workspace will be initialized and ready to use.

Connect your locally deployed instance

If you’re running Blnk locally on your device, here’s how to connect it to your Cloud workspace:
1

Prepare connection details

Set up your local development environment/
  1. Verify your local Blnk Core instance is running properly
  2. Note your local Blnk server port (default: 5001)
  3. Confirm your database port (default: 5432)
2

Configure access

Set up tunneling for external access:
  1. Install ngrok or similar tunneling service
  2. Start a tunnel for the Blnk server by running:
    ngrok http 5001
    
  3. Start a tunnel for the database by running:
    ngrok tcp 5432
    
3

Connection test

Verify your setup:
  1. Use the ngrok-provided URLs as connection endpoints
  2. Enter your local database credentials
  3. Test the connection to confirm everything works
If you didn’t set a secret key, provide a dummy key to complete submission.

Multiple Core instances

Managing multiple Blnk Core instances gives you the flexibility to separate your environments, test new features safely, and maintain distinct configurations for different use cases. Here’s how to effectively work with multiple instances in your Cloud workspace.

Connect a new instance

  1. Navigate to Settings > Instances.
  2. Select Connect new instance.
  3. Follow the on-screen instructions to complete the connection setup.

Switching between instances

  1. Locate the instance indicator in the top-right corner of your dashboard. This displays your currently active instance.
  2. Click the instance indicator to reveal a dropdown menu showing all your connected instances.
  3. Select your desired instance from the list to switch contexts. The dashboard will refresh to show data and configurations specific to the selected instance.

Pro Support

We provide add-on deployment services for teams who need help with deploying their instances on their infrastructure. It includes:
  1. Configure and deploy production-grade instances for your specific infrastructure requirements. Our engineers will work with your team to architect and implement Blink Core based on your needs.
  2. Train your team on maintenance best practices through comprehensive workshops and documentation, ensuring your engineers understand how to operate and maintain the system effectively.
  3. Periodical upgrades and performance improvements to keep your system running optimally, including security patches and version updates.
  4. Priority technical support with dedicated access to our senior engineers and custom SLAs tailored to your requirements.
To opt in, please contact our Sales team.

Need help?

Let’s help you get started with Cloud! Whether you’re setting up your first workspace or adding Cloud to your existing tools, our team is here to help you succeed. Contact our Support team to get answers and expert guidance on making the most of Cloud.