diff --git a/ai/.gitignore b/ai/.gitignore
index b01aa8a60d9253a6cfb105407ea04522ed8e5bef..b7f45031fdeaa0b939c97b14cc9be3f4fd244fbb 100644
--- a/ai/.gitignore
+++ b/ai/.gitignore
@@ -1,4 +1,6 @@
 .idea
 src/output.pdf
 generated_pdfs/*
-venv
\ No newline at end of file
+venv
+
+__pycache__
\ No newline at end of file
diff --git a/ai/run.sh b/ai/run.sh
new file mode 100755
index 0000000000000000000000000000000000000000..b771e0f1841a2972d52746cae253523cddc2f96b
--- /dev/null
+++ b/ai/run.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+# Create a virtual environment
+python3 -m venv venv
+
+# Activate the virtual environment
+source venv/bin/activate
+
+# Install the required packages
+pip3 install -r requirements.txt
+
+# Run the app (API)
+python3 src/api_gateway.py