title: How do I connect a (Firebase) Cloud Function with AWS Lambda?
body: <p>A team member is working on Machine Learning in Python, to get the data from the users in our social network (stored in Firebase Cloud Firestore) in the form of a json or text file, analyse it, get some useful info from it, like topics, and send that info back to Firestore database. </p>
  
  <p>However, I know that we can't currently run Python in Cloud Functions, so I can't have the scripts there if I wanted to.</p>
  
  <p>I need a way to host python scripts that can be executed whenever I need to analyse data, and I found that AWS Lambda provides a way to do this.</p>
  
  <p>But I'm struggling to understand how to connect Cloud Functions with this service (AWS Lambda), so I can execute the code whenever I need it by sending data from Firebase to AWS Lambda through Functions, and then get the analysis back from AWS Lambda to Firebase through Functions.</p>
  
  <p>I'd thank if you could help me with the way to connect them.</p>