AI Models
With Alpha, you can also integrate state-of-the-art AI models like Gemini, OpenAI and Claude in whatever you've been building with us.

Building a simple AI PDF analyser tool using Alpha
1. Prompt in Alpha
We're using Alpha and starting out with the following prompt:
Build me an AI PDF analyser tool "PDFAnalyse" in which users can upload any kind of PDF, and the tool analyses and gives a strong summary of the uploaded PDF
Have an upload functionality where user can upload the PDF. When we submit this form, it should make an AI call to Gemini (use the model name - gemini-2.5-flash-preview-05-20). Pass the PDF files directly to Gemini.
The final result should be a summarised version of the PDF

2. Copy-paste your AI API Key to Alpha
Now you simply need to integrate your API Key. In the above case, we're just gonna head to Google AI Studio and get our API Key and paste it in the env file (your_gemini_api_key_here) in the "Code" section. For security purposes can't show you the API key.

3. And...you're done!

Last updated