Help with configuring the integration for API Gateway response to the client

Hi , I’m new to serverless and aws and I’m feeling very lost :disappointed:
I was able to configure the yaml to receive and answer REST requests, and to allow my lambda function to excecute when a web socket message is received but I don’t understand how to set me integration for allowing the API gateway to respond back to the client when necessary.
please :pray:t2: help!