How to get a component in c++ that was added in blueprints

Answering my own question…the problem is that I tried to get the component in the constructor rather than BeginPlay()