Install ChatGPT for elmah.io

Log into elmah.io and go to the log settings. Click the Apps tab. Locate the ChatGPT app and click the Install button:

Install ChatGPT App

Input your OpenAI API key (Where do I find my OpenAI API Key?). Next, select which language model to use. We currently support GPT-3.5-Turbo and GPT-4.

As a default, elmah.io will only share the stack trace of an error with ChatGPT when you click the Get suggestion button in the elmah.io UI. If you want to include the source code and/or any SQL attached to the error, you can enable one or both toggles. Sharing the source will require you to bundle your source code alongside errors as documented here: How to include source code in log messages.

Click Save and the app is added to your log. When you open errors valid for ChatGPT help, you will see a tab named AI next to Detail, Inspector, etc.


This article was brought to you by the elmah.io team. elmah.io is the best error management system for .NET web applications. We monitor your website, alert you when errors start happening, and help you fix errors fast.

See how we can help you monitor your website for crashes Monitor your website