How do you create google pubsub subscriptions?

Hello,

I am trying to deploy Serverless to Google Cloud Platform. The, quickstart includes a pubsub event function. When I create a topic and deploy the event function it seems to deploy successfully but posting messages to the topic does not trigger the function. I believe this is because I need to create a push subscription for the function. Is there an easy way to create that subscription using serverless deploy?

Thanks