Pada saat yang sama, kontrol sandboxing yang mendetail dan pemberian izin pengguna bawaan memungkinkan administrator instance Anda yakin tentang data yang dapat diakses oleh developer aplikasi dan pengguna akhir.
Menggunakan ekstensi
Langkah pertama untuk menggunakan ekstensi Looker adalah menulis aplikasi sisi klien berbasis JavaScript yang menggunakan API yang ditampilkan oleh framework ekstensi Looker.
Cara tercepat untuk menyiapkan dan menjalankan aplikasi tersebut adalah dengan alat command line create-looker-extension kami, yang akan menyiapkan codebase boilerplate, termasuk alat build yang diperlukan untuk memaketkan kode aplikasi Anda melalui webpack. Alat ini memungkinkan Anda memilih antara JavaScript atau TypeScript, dan memungkinkan Anda memilih apakah akan menggunakan React.
Setelah codebase siap, Anda dapat memuat kode tersebut ke instance Looker dengan salah satu dari tiga cara berikut:
Selama pengembangan, Anda dapat menggunakan URL untuk mereferensikan server web yang dihosting secara lokal untuk pengembangan yang cepat dan praktis.
Anda dapat men-deploy file JS ke server jarak jauh atau jaringan penayangan konten (CDN), lalu mereferensikannya berdasarkan URL. Opsi ini sering kali paling mudah digunakan bersama dengan otomatisasi deployment berkelanjutan dari codebase ekstensi Anda.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-07-30 UTC."],[],[],null,["# Looker extension overview\n\n\u003e These extensions are different from [LookML extends/extensions](/looker/docs/reusing-code-with-extends), the code organization syntax used when modeling data in LookML.\n\nLooker extensions allow you to provide highly customized and integrated experiences to your Looker instance's users.\n\nA dedicated Looker page becomes your canvas, with a wide array of tools at your disposal, including the ability to:\n\n- Run JavaScript code\n- Access the Looker APIs through a pre-authenticated client\n- Leverage [Looker components](/looker/docs/components) for seamless UI\n- Make HTTP calls from the client or through a convenient server proxy\n- Authenticate with third-party services via OAuth\n- Use additional [extension framework features](/looker/docs/intro-to-extension-framework#extension_framework_features)\n\nSimultaneously, detailed sandboxing controls and built-in user permissioning allow your instance's administrators to be confident about what data is accessible to application developers and end users.\n\nUsing extensions\n----------------\n\nThe first step to using a Looker extension is authoring a JavaScript-based client-side application that uses the APIs that are exposed by Looker's extension framework.\n\nThe quickest way to get up and running with such an application is with our [`create-looker-extension`](https://www.npmjs.com/package/create-looker-extension) command line tool, which will set you up with a boilerplate codebase, including the necessary build tooling to bundle your application code via webpack. The tool lets you choose between either JavaScript or TypeScript, and lets you select whether to use React.\n\nOnce your codebase is ready to go, you can load it into your Looker instance in one of three ways:\n\n- During development, you can use a [URL](/looker/docs/reference/param-manifest-application#url) to reference a locally hosted web server for quick and convenient development.\n- You can build a JS bundle and [load the file through your LookML project](/looker/docs/reference/param-manifest-application#file).\n- You can deploy the JS file to a remote server or content delivery network (CDN) and then [reference it by URL](/looker/docs/reference/param-manifest-application#url). This option is often the most convenient when used together with continuous deployment automation from your extension's codebase.\n\nTry it out\n----------\n\nWant to see Looker extensions in action before writing any code? Several [Looker-published extensions](https://marketplace.looker.com/marketplace/directory?Type=applications) can be [installed with one click](/looker/docs/marketplace) into your Looker instance from the Looker Marketplace."]]