---
title: "Comment by Gelo Dosil on \"How to Attach a Default Lakehouse to a Notebook in Fabric\" | Hashnode"
description: "I believe I have found the solution. It is possible to parameterize %%configure like this %%configure { \"defaultLakehouse\": { \"name\": { \"parameterName\": \"defaul"
url: "https://hashnode.com/posts/how-to-attach-a-default-lakehouse-to-a-notebook-in-fabric/66a16c7f0c3c7317c41e7fdb/comment/66cf20ac68d04ed37abe0402"
---

[Discussion](https://hashnode.com/posts/how-to-attach-a-default-lakehouse-to-a-notebook-in-fabric/66a16c7f0c3c7317c41e7fdb)

Comment [How to Attach a Default Lakehouse to a Notebook in Fabric](https://hashnode.com/posts/how-to-attach-a-default-lakehouse-to-a-notebook-in-fabric/66a16c7f0c3c7317c41e7fdb)

[Gelo Dosil](https://hashnode.com/@Gelouma)

[Aug 28, 2024](https://hashnode.com/posts/how-to-attach-a-default-lakehouse-to-a-notebook-in-fabric/66a16c7f0c3c7317c41e7fdb/comment/66cf20ac68d04ed37abe0402)

I believe I have found the solution. It is possible to parameterize %%configure like this

%%configure

{ "defaultLakehouse": { "name": { "parameterName": "defaultLakehouseName", "defaultValue": "FourthLakehouse" }, "id": { "parameterName": "defaultLakehouseId", "defaultValue": "773faa37-826f-4f9b-830f-e2a7a23e3903" } } }

I am using it to programmatically drop unnecessary tables in various lakehouses, but I also think I will use it to apply optimize, vacuum and vorder operations to tables. hope it helps
