# BFF Plugin

In a Modern.js application, developers can define API files under the `api/lambda` directory and export API functions using the BFF plugin. In the frontend code, these API functions can be directly invoked by importing the file, which initiates the API requests.

For more details, refer to [BFF - Basic Usage](/guides/advanced-features/bff/function).