First, you need to bind the Animation Layer Interface to your Animation Blueprint by selecting Class Settings, then clicking the Add dropdown menu in the Interfaces section. Select your Animation Layer Interface.