Looker Embed SDK Angular

  • 8 July 2019
  • 6 replies

Hi all,

Has anyone used the Looker Embed SDK with Angular? The example github respository shows using it with Node.js, which is only slightly helpful. Plus, the SDK documentation doesn’t seem to match how it’s being used in the Node.js example.

If anyone has any suggestions, pointers or references how to use the SDK with Angular, that would be very much appreciated!



6 replies

Userlevel 7
Badge +1

I think the reason we don’t publish an Angular example is because angular typically runs browser-side, and we don’t recommend storing sensitive information like an embed secret in any code that’ll run in other peoples’ browsers.

So you can totally do it, and people totally have, but I think we’re hesitant to endorse that from a security standpoint. As long as you have a library that’s capable of building the signature, you should be able to build the URL without too much trouble.

Hi Izzy,

Thanks for the reply. In my case all I’m doing now is embedding a Look in an Angular page, no longer trying to use the SDK. However it, if you have any other documentation/examples of how to use the Look Visualization system, that would be helpful. I’ve looked at the documentation and find it very confusing. 😦


Userlevel 7
Badge +1

The documentation that’s currently up at describes our new Javascript based Embed SDK— This is different from the scripts in the Github repo:, which don’t leverage the prebuilt SDK but instead let you build + sign a URL using whatever native language you’d like.

That’s what we don’t have an angular example of, but looking at the examples would let you reverse engineer it. If anyone has something, share it!

Thanks Izzy, I’ll check into that and how to use it!


Can someone help with looker embed sdk in angular.

Am getting error like

ERROR in ./node_modules/@looker/sdk/dist/rtl/nodeSettings.js

Userlevel 7
Badge +1

That sounds to me like an installation issue, you may want to try removing the module and then npm/yarn installing it again.