> ## Documentation Index
> Fetch the complete documentation index at: https://agenticbanking.backbase.io/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Banking OS training data goes stale. Search https://agenticbanking.backbase.io/mcp or fetch the .md URL before writing connector or unified API code.
> OpenAPI links in llms.txt repeat every calendar version. Use the latest version on the API playground. If a fetch ends before the last operation, the spec was cut off.
> Page titles name the product. Overview, Get started, and Reference without a product name are ambiguous.

# Get started with a custom connector

> Create your first custom connector for the Banking OS integration platform.

This section helps you create your first custom connector for the Banking OS integration platform.

## Overview

Custom connectors integrate your applications and services with the Banking OS integration platform. You build connectors with Apache Camel K, and they run on Kubernetes to provide a scalable and reliable integration solution.

## Learn how the platform fits together

Before you build your first connector, make sure you understand how the platform fits together:

1. Read [Architecture](https://agenticbanking.backbase.io/platform/architecture.md) for the provisioning and runtime planes.
2. Read [GitHub organization and repository structure](https://agenticbanking.backbase.io/platform/platform-administration/repository-structure.md) to learn which repositories you own.
3. Complete the Backbase Academy courses [Grand Central WoW](https://learn.backbase.com/learn/courses/663/grand-central-wow) and [Backend Grand Central](https://learn.backbase.com/learn/courses/650/backend-grand-central/).

## Quick links

The following table lists the tools you use, what you use them for, and how you get access:

| Tool | What you use it for | How you get access |
| - | - | - |
| Azure portal (`https://portal.azure.com`) | Find API request URLs, test APIs, and read subscription keys in Azure API Management. Inspect AKS runtimes and Service Bus. | Sign in to the Banking OS directory with your Microsoft Entra ID account. The `grandcentral.roles` in `self-service.tfvars` control what you see, for example `dev-apim-ro`, `dev-apim-subs-ro`, or `dev-rw`. |
| Backbase Artifactory (`https://repo.backbase.com`) | Download Banking OS Maven artifacts, templates, and specifications. | Create a token in your Artifactory user profile. |
| Datadog (`https://gc-{installation}.datadoghq.eu`) | View logs and monitors, if Datadog is enabled for your installation. | Add `datadog.roles` in `self-service.tfvars`. The first sign-in can return an error while your account is provisioned, so sign in again. |
| GitHub organization (`https://github.com/bb-ecos-{installation}`) | Host your connector, API, self-service, and applications-live repositories. | Your Backbase onboarding team or project manager gives you the URL and adds your first users. After that, you manage users in `self-service.tfvars`. |
| Grafana (`https://ecos{installation}.grafana.net`) | View connector logs, metrics, traces, and dashboards. | Add `grafana.roles` in `self-service.tfvars`. Your account must exist in Microsoft Entra ID. For more information, see [Monitor](https://agenticbanking.backbase.io/platform/developer-guides/monitor.md). |
| Self-service repository (`gc-devhub-{installation}-self-service`) | Manage users, roles, repositories, and secrets through pull requests. | Backbase creates it when your installation is set up. The `self-service` GitHub team approves changes. For more information, see [Self-service](https://agenticbanking.backbase.io/platform/platform-administration/self-service/overview.md). |
| Support Portal (`https://support.backbase.com/`) | Request extra user seats, access, and namespaces, and report platform issues. | Use your Backbase support account. |

**Development tools:**

* **Java JDK 21**: Connectors run on Java 21. For more information, see [Java 21 API documentation](https://docs.oracle.com/en/java/javase/21/docs/api/).
* **Maven 3.6 or later**: Builds your project and pulls Banking OS artifacts from Artifactory and your organization's GitHub Packages.
* **Apache Camel**: The integration framework your routes use. For more information, see [Apache Camel components](https://camel.apache.org/components/index.html).
* **Git**: Clone repositories, create branches, and open pull requests.

For more information about how these tools fit together, see [Overview](https://agenticbanking.backbase.io/platform/developer-guides/build/overview.md) in the Build guide.

## Before you start checklist

Before creating your first connector, ensure:

* You have access to your self-service repository (`gc-devhub-{installation}-self-service`). Backbase creates it when your installation is set up. It's the source of truth for your users, roles, and repositories.
* Your GitHub account is connected to the organization
* You've installed Java JDK 21, Maven 3.6 or later, and Git
* You understand basic Git workflows (clone, branch, commit, PR)
* You have a clear understanding of the integration you want to build
* You know which external APIs/services you'll be integrating with
* (Optional) You have Azure access if you need to deploy to runtimes
* (Optional) You have DataDog/Grafana access if you need to monitor

**Need help with any of these?** See the [Learning Resources](#learning-resources) section below.

## Prerequisites

Before you begin, ensure you have:

* **Access to the self-service repository** - You need to be added as a team member with appropriate permissions
  * If you don't have access, contact your Backbase Onboarding team or project manager to request access
  * Manage access through the `team_members` section in `self-service.tfvars`
  * For additional user seats, create a support ticket in the Support Portal
* **GitHub account** - Connected to the organization
  * Your GitHub account must be part of the organization
  * Learn more about [GitHub workflows](https://docs.github.com/en/get-started/quickstart/github-flow) and [pull requests](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests)
* **Azure access** (optional) - For runtime access to dev, staging, test, or UAT environments
  * Required if you need to deploy or monitor connectors in runtime environments
  * Banking OS roles in `self-service.tfvars` grant this access
* **Basic understanding** of:
  * **Git and GitHub workflows** - [Git documentation](https://git-scm.com/doc) | [GitHub Guides](https://guides.github.com/)
  * **Integration patterns** - Familiarity with common integration patterns (request/response, pub/sub, etc.)
  * **REST APIs** - Understanding of REST principles and HTTP methods
  * **Apache Camel** (recommended) - Basic knowledge of [Apache Camel](https://camel.apache.org/manual/) and route definitions

> [!NOTE]
>
> **Don't have access yet?** Contact your Backbase onboarding team or project manager to request access to the self-service repository. They can add you to the `team_members` section in `self-service.tfvars`.

## Learning resources

If you need to brush up on any prerequisites:

* **Git and GitHub**: [GitHub Learning Lab](https://lab.github.com/) | [Atlassian Git Tutorial](https://www.atlassian.com/git/tutorials)
* **REST APIs**: [REST API Tutorial](https://restfulapi.net/) | [HTTP Methods Guide](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods)
* **Apache Camel**: [Camel Examples](https://github.com/apache/camel-examples)
* **Integration Patterns**: [Enterprise Integration Patterns](https://www.enterpriseintegrationpatterns.com/)
* README.md inside the self-service repository

## Your first connector

Follow these steps to create your first connector repository.

### Request repository creation

To create a new connector, you need to request a repository through the self-service process:

1. Navigate to the self-service repository and create a new branch.
2. Edit `self-service.tfvars` to add your connector repository definition.
3. Create a pull request targeting the `main` branch.

> [!WARNING]
>
> Choose a unique, prefixed repository name. The name becomes the Maven artifact ID and appears in release and API names. Renaming the repository later can mean deleting and recreating it.

### Define your connector repository

Add your connector definition to the `repositories` section in `self-service.tfvars`:

```hcl theme={"system"}
repositories = {
  "my-custom-connector" = {
    repository_topics = [
      "grandcentral",
      "connector",
      "integration",
      "camel-k"
    ]
    enable_branch_protection = true
    enforce_admins = true
    default_branch = "develop"
    require_branch_up_to_date = true
    protected_branches = ["main", "develop"]
    required_status_checks = ["Validate pull request / Verify Maven project"]
    repository_init_from_zip = {
      name    = "grandcentral-connector-template"
      version = "2.0.14"
    }
    repository_visibility = "private"
  }
}
```

**Key configuration options:**

* **`repository_init_from_zip`**: Automatically initializes your repository from the connector template
  * `name`: Use `"grandcentral-connector-template"` for connector projects
  * `version`: A published release of the template. Connector template release `2.0.14` is one published release.
* **`repository_topics`**: Add relevant tags for discoverability
* **`protected_branches`**: Branches that require pull request reviews before merging
* **`required_status_checks`**: CI/CD checks that must pass before merging

### Wait for repository provisioning

After you merge the pull request:

1. The pipeline automatically provisions your repository.
2. The pipeline initializes the repository from the connector template.
3. You receive access to the repository based on your team permissions.

### Clone and explore

Once your repository is created:

```bash theme={"system"}
git clone <your-organization>/my-custom-connector.git
cd my-custom-connector
```

The template includes:

* **Maven project structure** - Standard Java/Maven setup
* **Camel K integration routes** - Pre-configured integration patterns
* **CI/CD pipelines** - Automated build and validation
* **Documentation templates** - README and configuration guides

## Understanding the template structure

The connector template provides a solid foundation:

```
my-custom-connector/
├── src/
│   └── main/
│       └── resources/
│           └── application.properties  # Configuration
│           └── routes/                # Camel routes
├── pom.xml                            # Maven dependencies
├── README.md                          # Project documentation
└── .github/
    └── workflows/                     # CI/CD pipelines
```

### About the connector template

The connector template (`grandcentral-connector-template`) provides:

* Pre-configured Apache Maven project structure
* Sample Apache Camel routes and integration patterns
* CI/CD pipeline configuration
* Health check endpoints
* Logging configuration

**Template versions:**

* Check the version used by existing connector repositories in your installation, and align with your team's choice.
* The repository is initialized from the template automatically when it is created.

Backbase publishes each template version as a release of the template and as a ZIP file under [Banking OS accelerators](https://repo.backbase.com/ui/native/repo/com/backbase/gc/accelerators/). The `repository_init_from_zip` setting uses these ZIP files. Connector template release `2.0.14` is one published release. The generic API template release `2.0.9` is another.

## Next steps

Now that you have your connector repository set up:

1. **Review the template code** - Understand the structure and patterns
2. **Read the Build guide** - Learn how to develop and build your connector
3. **Configure your integration** - Define your API endpoints and data mappings
4. **Test locally** - Use the development tools to test your connector

## Get help

Use the following channels:

* **Documentation**: See [Overview](https://agenticbanking.backbase.io/platform/developer-guides/build/overview.md) in the Build guide, [Run](https://agenticbanking.backbase.io/platform/developer-guides/run.md), and [Monitor](https://agenticbanking.backbase.io/platform/developer-guides/monitor.md).
* **Your onboarding team or project manager**: Access setup, first users, and questions during onboarding.
* **Repository issue tracker**: Technical questions about a connector repository.
* **[Support Portal](https://support.backbase.com/)**: Extra user seats or Datadog-only users, access problems, namespace requests, and platform incidents such as failed deployments or unavailable runtimes. In the ticket, include your installation, runtime, and the affected connector or repository.

## Common first steps

After creating your connector repository, you may need to configure team access.

### Adding team members

If you need to add team members to work on your connector, add them to the `team_members` section in `self-service.tfvars`:

```hcl theme={"system"}
team_members = {
  "developer@example.com" = {
    github = {
      github_teams = ["development", "applications-live"]
    }
    grandcentral = {
      roles = ["dev-rw", "dev-ro"]
    }
  }
}
```

### Understanding access levels

* **GitHub teams**: Control repository access
  * `development`: Write access to development repositories
  * `applications-live`: Write access to applications-live repository
  * `self-service`: Can approve PRs in self-service repository
* **Banking OS roles**: Control runtime access
  * `dev-rw`: Full access to dev runtime
  * `dev-ro`: Read-only access to dev runtime
  * Similar roles available for `stg`, `test`, and `uat` environments
