# Tutorial: How to build an app using the OpenAI API

**URL:** <https://community.openai.com/t/tutorial-how-to-build-an-app-using-the-openai-api/22341>\
**Category:** Documentation\
**Created:** [October 28, 2022, 1:55am UTC](https://community.openai.com/t/tutorial-how-to-build-an-app-using-the-openai-api/22341 "2022-10-28T01:55:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![james.collins](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/james.collins/32/12478_2.png) [@james.collins](https://community.openai.com/u/james.collins)\
**Post date:** [October 28, 2022, 1:55am UTC](https://community.openai.com/t/tutorial-how-to-build-an-app-using-the-openai-api/22341/1 "2022-10-28T01:55:56Z")

</div>

Hi everyone,

We’ve recently published a tutorial that demonstrates how to build a **Business Name Generator** web application that uses the OpenAI API:

> **[How to build a PHP app using the OpenAI API - Tectalic](https://tectalic.com/blog/build-an-app-using-openai-api)**
>
> Learn how to build an AI-based business name generator application using PHP, Laravel and the OpenAI API.

It includes animated videos of each step, full code snippets, and even a starter app skeleton that you can download from GitHub.

The tutorial is aimed at PHP developers, as our example app uses PHP and the Laravel framework. However the concepts outlined in the tutorial would likely apply to other languages and frameworks.

It uses the **completions** endpoint, and includes an example of a prompt that can be used.

I welcome your feedback. Please let me know if you have any comments or questions 😀

James

---

<div class="post-metadata">

**Author:** ![james.collins](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/james.collins/32/12478_2.png) [@james.collins](https://community.openai.com/u/james.collins)\
**Post date:** [November 13, 2022, 3:59am UTC](https://community.openai.com/t/tutorial-how-to-build-an-app-using-the-openai-api/22341/2 "2022-11-13T03:59:34Z")

</div>

For those of you who have read the tutorial, how did you find it?

Have you built anything interesting as a result?

Was the tutorial easy enough to follow? Did it lack any detail in particular sections?

Any suggestions on how it could be improved would be greatly appreciated.

Thank you!

James

---

<div class="post-metadata">

**Author:** ![joseicarobc](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/joseicarobc/32/12908_2.png) [@joseicarobc](https://community.openai.com/u/joseicarobc)\
**Post date:** [November 27, 2022, 9:26am UTC](https://community.openai.com/t/tutorial-how-to-build-an-app-using-the-openai-api/22341/3 "2022-11-27T09:26:39Z")

</div>

There are several no-code and low-code solutions that are on the rise.

I paid homage to my son and posted an app I created with Retool to create images with dall-e integrated via the OpenAI API using javascript and mongo db.

[![](https://us1.discourse-cdn.com/openai1/original/3X/9/4/9425ffdff82f58982189afc5ba6a9a45796e25c5.jpeg "API DALL-E 2 do OpenAI - Criando um App Gratuito com Retool para Criar Imagens com IA + MongoDB") ](https://www.youtube.com/watch?v=Y9ImQzPoJac)

\*\*

> The video above _is not promotional or self-promotional or anything to sel_l, it is a tribute to my 3 year old son, I will leave the video as a suggestion.

\*\*

---

<div class="post-metadata">

**Author:** ![zerocodez](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/zerocodez/32/469109_2.png) [@zerocodez](https://community.openai.com/u/zerocodez)\
**Post date:** [September 27, 2024, 11:07am UTC](https://community.openai.com/t/tutorial-how-to-build-an-app-using-the-openai-api/22341/4 "2024-09-27T11:07:54Z")

</div>

@joseicarobc I appreciate how Retool makes working with **data** 📚 and **AI** 🧠 so convenient.
