# Build your own custom component

An advantage of utilizing GenAI Stack is the ability to customize the application's components within the stack. Each component offers a range of hyperparameters, and users are required to provide values for these parameters, allowing for flexible configurations.&#x20;

### **Import modules for the required components**

```
from typing import List
from genflow import CustomComponent
from langchain.document_loaders import YoutubeLoader
from langchain.schema import Document
```
