How to use vertex colors in material?

Hello. I have a 6 vertex colors/color attributes in Blender and want to export it in UE5. I know that I can use only one vertex color using vertex color node in unreal, but I’ve baked it to textures and still can’t use it. What can I do with it? Is there any way to use more than 1 vertex color?