---
lang: en
title: 'API docs: boot.bindbooter'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/boot
permalink: /doc/en/lb4/apidocs.boot.bindbooter.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/boot](./boot.md) &gt; [bindBooter](./boot.bindbooter.md)

## bindBooter() function

Method which binds a given Booter to a given Context with the Prefix and Tags expected by the Bootstrapper

<b>Signature:</b>

```typescript
export declare function bindBooter(ctx: Context, booterCls: Constructor<Booter>): Binding;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  ctx | [Context](./context.context.md) | The Context to bind the Booter Class |
|  booterCls | [Constructor](./context.constructor.md)<!-- -->&lt;[Booter](./boot.booter.md)<!-- -->&gt; | Booter class to be bound |

<b>Returns:</b>

[Binding](./context.binding.md)


