# Bindings file

URL: /code/project-structure/env-bindings · Id: `convention:env-bindings`

> The bindings file names each secret and Integration a Startup reads, per environment; values live in the platform, never in the repository.

The bindings file names each secret and [Integration](/business/nouns/integration) a [Startup](/business/nouns/startup) reads, per environment; values live in the platform, never in the repository.

| Property | Value |
| --- | --- |
| Path | `env.ts` |
| Holds | [Setting](/business/nouns/setting) |
| Kind | file |
| Leaders | db-first, git-first |
| Team | [Engineering Team](/agents/engineering) |
| Written by | [Change.merge](/business/nouns/change/merge) |
| Compiled by | [SoftwareBuilder](/code/builders/software) |

### Example
`env.ts` in a Startup repository.

```ts title="env.ts"
import { env, integration, secret } from 'startup-builder'

export default env({
  RATES_API_KEY: secret(),
  github: integration('github', { scope: 'startup' }),
})
```

### Exports
| Export | Kind | Type |
| --- | --- | --- |
| `default` | default | `Env` |

### Signature
```ts
env(bindings: Record<string, Secret | Integration>): Env
```

### Generates
[SoftwareBuilder](/code/builders/software) compiles it into these records, Verbs and routes.

| Kind | What |
| --- | --- |
| Records | [Secret](/business/nouns/secret), [Integration](/business/nouns/integration), [Setting](/business/nouns/setting) |
| Verbs | None. |
| Routes | None. |