How can I use ACF plugin in my theme ?

Hi, My wordpress theme is soft rejected because of the Advanced Custom Fields plugin. I just put acf plugin files in my theme > admin> plugins folder. But when I check my theme with ThemeCheck plugin I see some warnings because of ACF plugin. Do I need to use TGM Plugin Activation or is there any way to use ACF plugin in theme folder ?

Yes use the TGM class from

That will ask your customers to install the theme and they get any updates made to the plugin, this means then your customers always have the latest version of the plugin without relying on you to update your theme files on a regular basis.

There is no way to use in theme folder? because I changed something in acf plugin,