---
title: "Comment by Andrew Lawton on \"Integrating Open AI into Angular application : Step by Step Guide\" | Hashnode"
description: "I&#39;ve read through this several times and there are some gaps. This line &quot;apiKey: environment.OPENAI_API_KEY&quot; throws a &quot;Property &#39;OPENAI_A"
url: "https://hashnode.com/posts/integrating-open-ai-into-angular-application/63d3b2c3d4a6f74f06ffda8e/comment/64833aefdb33d65ccffe3065"
---

[Discussion](https://hashnode.com/posts/integrating-open-ai-into-angular-application/63d3b2c3d4a6f74f06ffda8e)

Comment [Integrating Open AI into Angular application : Step by Step Guide](https://hashnode.com/posts/integrating-open-ai-into-angular-application/63d3b2c3d4a6f74f06ffda8e)

[Andrew Lawton](https://hashnode.com/@Allawton)

[Jun 9, 2023](https://hashnode.com/posts/integrating-open-ai-into-angular-application/63d3b2c3d4a6f74f06ffda8e/comment/64833aefdb33d65ccffe3065)

I've read through this several times and there are some gaps.

1.  This line "apiKey: environment.OPENAI\_API\_KEY" throws a "Property 'OPENAI\_API\_KEY' does not exist on type" ...... Error. I am searching for a resolution and have been unsuucessful.
    
2.  I copied and pasted your "rxjs" code. It needs the import statement..which was not mentioned. "import { filter, from, map } from 'rxjs'";
