1. Execute `pnpm new` and select "Enable BFF"
2. Add the following code to `modern.config.[tj]s` according to the chosen runtime framework:

import { Tabs, Tab as TabItem } from "@theme";

<Tabs>
  <TabItem value="express" label="Express.js" default>

```ts title="modern.config.ts"
import expressPlugin from '@modern-js/plugin-express';
import bffPlugin from '@modern-js/plugin-bff';

export default defineConfig({
  plugins: [expressPlugin(), bffPlugin()],
});
```

  </TabItem>
  <TabItem value="koa" label="Koa.js">

```ts title="modern.config.ts"
import koaPlugin from '@modern-js/plugin-koa';
import bffPlugin from '@modern-js/plugin-bff';

export default defineConfig({
  plugins: [koaPlugin(), bffPlugin()],
});
```

  </TabItem>
</Tabs>
