How to Use NotebookLM with Claude Code and Save Tokens
Imagine being able to use all the power
of Notebook LM inside Cloud Code.
And when I say all the power,
I mean asking it about created notebooks,
I mean creating notebooks,
and look at what we are saying.
We are saying that Cloud Code, which is expensive,
does not have to incur costs when it is researching,
when we add a full book from a PDF
or several books,
and when we ask Cloud Code something,
we can make it in turn ask
a specific notebook
and have it bring back the results to keep working.
That makes it truly incredible.
Let’s see how it works.
I go to the terminal, I am already in the terminal,
I am going to type Cloud,
and I am going to say, tell me which is the latest notebook
in Notebook LM.
In fact, while we are asking for it,
we notice that the last notebook is…
Well, here we have two, because this one is earlier,
I know that, look at the date,
and this one is March 11.
I do not know if it takes into account the last modified
or the last created,
but I am telling you this,
because now we can realize
that maybe it will tell us, here it is.
See? The last one created is this N8N comparison one,
which, if you notice, is in second place,
but you can see the date is later.
Here we have it.
So I can say to it,
can you create an infographic in that notebook?
Before making the infographic,
I am going to open the notebook,
so you can see there is no infographic created.
It tells me it is in progress,
generation started,
it is going to try to check when it is ready.
Okay, notice that if I…
Look, here it already says it is being generated.
I can not only interact with already created notebooks,
but I can also ask it directly
to create a complete notebook for us.
I will do that now, but first we are going to finish
and see what it does for us.
Notice that it already says it has it done.
I could tell it before going in,
as you already know, not to keep asking me questions.
There is a command I can use
so I do not have to be here
clicking next, next, and next.
What I am going to do, though, is tell it not to ask me
about things it has already asked me about
so it does not get so tedious.
Well, here it tells me it takes one or two minutes,
that it is still in process.
It tells me, tell me when you want me to check again
or if you want me to keep trying every X amount of time.
Here it is generating, it is going to take a little bit,
but while it is doing that,
here it keeps creating.
but in the meantime I am going to tell you,
with this information, tell me when to use
N8n, Make, or Cloud Code.
Notice that he asks Notebook LM itself,
you see that there is a query here,
and he asks it.
What does that mean?
It means that Cloud is not doing the research,
it is asking Notebook LM for the result,
so in many cases
it is going to do it great for us
and also, I repeat,
it is going to save us a ton of tokens
inside Cloud Code.
Notice that the information is here
and it is already giving it to us,
so it actually works really well
and we can, when we work in this way,
also make sure there are no hallucinations,
because it works only with the information
that we have inside our own notebook.
Let’s see if it also finished,
it finished the infographic.
Let’s take a look at it, by the way.
Here we have the infographic
of the automation ecosystem,
MakeN8n. Well, we can see it.
We would have to read it, but it looks really good.
I am going to ask it,
do you already have access to the infographic?
Because I already know that yes, it is there.
Notice that, well,
it has already found it for us here.
Here we have it.
You can also view it directly in the notebook,
but it also gives me full access,
so we are going to copy the URL
and it does not let me view it.
Can you download it?
We are going to check,
to see if it is able to download
the created infographic.
It tells me that it has downloaded it,
that I have it in my folder.
So we are going to check.
Let’s go. I will put it here on another screen
while I browse.
And here I have it, let’s see.
There it is, I have it downloaded
to my computer and locally, from Cloud Code.
without having to log in.
Notice that the direct link had failed for us,
but if I tell it to download it for me, it does.
Before seeing how we did it,
I am going to ask it,
what else can you do
with a Notebook LM notebook?
Let’s see what it tells us.
We can add sources, URLs, text,
add local files, Google Drive,
list, rename,
sync sources with Google Drive,
view the content of a source,
query it.
Notice that we can ask it
to make a presentation for us,
all these things we are already used to.
And I repeat, to have it do it,
and not only is it going to do it great,
it is that you let Cloud Code itself not be the one to do it.
Okay, how did we do this?
How did we do this?
Notice, I actually have a notebook
that I created myself as an example,
but it also worked very well for me
to see how it was done.
So here I have the URL for the Cloud Code MCP.
I have another, more complete video
where I explain step by step
how to get started with Cloud,
but in this case notice
that in this URL, if I scroll down,
it gives me the commands I can use,
but what interests us here
is how it is installed.
On one hand, it tells us how to connect,
and on the other, somewhere,
let’s see where it is,
there is the way—here it is—
of how it is installed.
Here we have one way,
or we have another.
My recommendation,
if you are not very technical,
you can do it like this,
but another way we can do it
is to ask Cloud Code itself
to install it.
For example,
can you give me the steps
to explain how to install the MCP
for Node.LM?
Here you have the documentation.
In this case, I’m showing it to you
so you can see how to do it,
because I really did not install it,
I asked him to do it
and he installed it himself.
You can see that here it is creating
commands to do it.
So, in this case,
you simply let it
keep doing it and it does it for you.
Do you want more control?
Well, here it tells you which
commands you have to use.
Here you can see that there is a command
to connect it and configure it
with Cloud Code
and you just follow the steps
and you do it.
But, as I’m telling you,
you can have Cloud Code itself
auto-install,
like I did in my case.
Here you can see that it gives us the steps,
but as I’m saying,
since it is on our computer,
we could tell it
to do it by itself.
The important step,
apart from connecting it,
is NLM Login,
because a web page is going to pop up
for you
so you can connect with Google
to Notebook LM
and that way
the rest is a piece of cake.
But notice that here it tells us
what the commands are,
here it tells us how to log in
and then how to connect them with Cloud Code.
But, as I am telling you,
it is going to do it for you,
just like we saw
in previous videos.
Setting up
MCPs that way works very well.
So I repeat,
this tool seems incredible to me
when we have to work
with a ton of information
and all of that would be a huge
token consumption.
This way you can do it
without spending anything.
I hope you are enjoying
this kind of video.
Let him know if you have any questions
or what other video you want.
I already have a few in mind,
so without further ado,
See you in the next one.
See you later!
End of transcript · 1,483 words · machine translated
Transcribed and translated with TranslateMom. Paste any video link to get subtitles and a transcript in your language.
Original transcript (Spanish)
Imagina poder utilizar toda la potencia de Nodework LM dentro de Cloud Code. Y cuando me refiero a toda la potencia, me refiero a preguntarle por cuadernos creados, me refiero a crear cuadernos,
y fijaros en lo que estamos diciendo. Estamos diciendo que Cloud Code, que es caro, no tenga que hacer gasto cuando está investigando, cuando le añadimos un libro completo de un PDF o varios libros,
y cuando le preguntemos algo a Cloud Code, podemos hacer que se lo pregunte a su vez a un cuaderno en concreto y él se traiga los resultados para seguir trabajando. Eso lo hace realmente increíble.
Vamos a ver cómo funciona. Me vengo al terminal, ya estoy en el terminal, voy a poner Cloud, y le voy a decir, dime cuál es el último cuaderno en Notebook LM.
De hecho, mientras se lo pedimos, nos fijamos que el último cuaderno es... Bueno, aquí hay dos, porque este es anterior, eso lo sé, fijaros en la fecha, y este 11 de marzo.
No sé si tiene en cuenta el último modificado o el último creado, pero os lo comento, porque ahora podemos darnos cuenta que quizá nos diga, aquí está.
¿Veis? El último creado es este de N8N comparativa, que si os dais cuenta, está en segundo lugar, pero la fecha podéis ver que es posterior. Aquí lo tenemos. Entonces le puedo decir,
¿puedes crear una infografía en ese cuaderno? Antes de hacer la infografía, voy a entrar en el cuaderno, para que veáis que no hay ninguna infografía creada. Me pone que está en progreso,
generación iniciada, va a intentar revisar cuando está lista. Vale, fijaros que si yo... Mirad, aquí ya pone que se está generando. No solo puedo interactuar con cuadernos ya creados,
sino que puedo pedirle directamente que nos cree un cuaderno completo. Ahora lo haré, pero primero vamos a terminar y vamos a ver qué nos hace. Fijaros que ya pone que la tiene hecha.
Podría decirle antes de entrar, ya lo sabéis, que no me ande preguntando. Hay un comando que puedo utilizar para no tener que estar aquí dándole a siguiente, siguiente y siguiente.
Lo que sí voy a hacer es que no me pregunte por cosas que ya me haya preguntado para que no se haga tan pesado. Bueno, aquí me dice que tarda 1 o 2 minutos, que todavía está en proceso.
Me dice, dime cuándo quieres que vuelva a comprobar o si quieres que siga intentándolo cada X tiempo. Aquí está generando, va a tardar un poquito, pero mientras lo va haciendo, aquí sigue creando,
pero mientras tanto le voy a decir, con esta información, dime cuándo usar. N8n make o Cloud Code. Fijaros que se lo pregunta al propio Notebook LM, veis que aquí hay una query,
y se lo pregunta. ¿Qué significa? Que Cloud no está investigando, le está pidiendo el resultado a Notebook LM, por lo que en muchas ocasiones
nos lo va a hacer genial y además, repito, nos va a ahorrar un montón de tokens dentro de Cloud Code. Fijaros que aquí está la información
y ya nos la está dando él, por lo que realmente funciona realmente bien y podemos, cuando trabajamos de esta manera, además, nos aseguramos que no hay alucinaciones, porque trabaja solo con la información
que tenemos dentro de nuestro propio cuaderno. Vamos a ver si terminó también, terminó con la infografía. Vamos a verla, por cierto. Aquí tenemos la infografía
del ecosistema de automatización, MakeN8n, bueno, podemos ver. Habría que leerla, pero tiene muy buena pinta. Voy a preguntarle, ¿tienes acceso ya a la infografía?
Porque yo ya sé que sí que está. Fijaros que, bueno, aquí ya nos la ha encontrado. Aquí la tenemos. También puedes verla directamente en el cuaderno,
pero también me da un acceso completo, por lo que vamos a copiarnos la URL y no me deja verla. ¿La puedes descargar? Vamos a comprobarlo,
a ver si es capaz de descargarle la infografía realizada. Me dice que la ha descargado, que la tengo en mi carpeta. Pues vamos a comprobarlo.
Vámonos, aquí lo voy a poner en otra pantalla mientras navego. Y aquí la tengo, vamos a ver. Ahí está, la tengo en mi ordenador descargada y en local dicho desde Cloud Code,
sin tener que entrar. Fijaros que nos había fallado el enlace directo, pero si le digo que me lo descargue, lo hace. Antes de ver cómo lo hemos hecho, le voy a preguntar,
¿qué más cosas puedes hacer con un cuaderno de Notebook LM? Vamos a ver lo que nos dice. Podemos añadir fuentes, URLs, texto, añadir archivos locales, Google Drive,
listar, renombrar, sincronizar fuentes con Google Drive, ver el contenido de una fuente, consultar. Fijaros que podemos pedirle
que nos haga una presentación, todas estas cosas que ya estamos acostumbrados. Y repito, que lo haga, y no solo es que lo va a hacer genial, es que dejas que no lo haga el propio Cloud Code.
Vale, ¿cómo hemos hecho esto? ¿Cómo hemos hecho esto? Fijaros, tengo de hecho un cuaderno que yo mismo me generé como ejemplo, pero además también me vino muy bien
para ver cómo se hacía. Entonces aquí tengo la URL del MCP de Cloud Code. Tengo otro vídeo más completo de que explico paso a paso cómo empezar con Cloud,
pero en este caso fijaros que en esta URL, si bajo, me da los comandos que puedo utilizar, pero lo que nos interesa aquí es cómo se instala.
Por un lado, nos dice cómo conectarnos, y por otro, en algún lugar, a ver dónde está, está la manera, aquí está, de cómo se instala.
Aquí tenemos una manera, o tenemos otra. Mi recomendación, si no sois muy técnicos, lo podéis hacer así,
pero otra forma que tenemos de hacerlo es pedirle al propio Cloud Code que se instale. Por ejemplo, ¿me puedes dar los pasos
para explicar cómo instalar el MCP de Node.LM? Aquí tienes la documentación. En este caso, os lo muestro para que veáis cómo hacerlo,
porque yo realmente no lo instalé, se lo pedí a él y él mismo lo instaló. Podéis ver que aquí está creando comandos para hacerlo.
Entonces, en este caso, simplemente le vais dejando que lo vaya haciendo y os lo hace. ¿Queréis más control? Pues aquí os dice cuáles son
los comandos que hay que utilizar. Aquí podéis ver que hay un comando para conectarlo y configurarlo con Cloud Code y simplemente seguir los pasos
y lo hacéis. Pero, como os digo, le podéis hacer que el propio Cloud Code se auto instale, como hice yo en mi caso.
Aquí podéis ver que nos da los pasos, pero como os digo, como está en nuestro ordenador, le podríamos decir que lo hiciera él por sí mismo.
El paso importante, aparte de conectarlo, es NLM Login, porque os va a salir una página web
para que os conectéis con Google al Notebook LM y de esa manera el resto ya es pan comido. Pero fijaros que aquí nos lo dice
cuáles son los comandos, aquí nos dice cómo logearnos y luego cómo conectarlos con Cloud Code. Pero, como os digo, él lo va a hacer por vosotros,
al igual que hemos visto en vídeos anteriores. Funciona muy bien configurar los MCPs de esa forma. Por lo que repito,
esta herramienta me parece increíble cuando tenemos que trabajar con un montón de información y todo eso sería un consumo enorme de tokens.
De esta manera lo puedes hacer sin gastar nada. Espero que os esté gustando este tipo de vídeos. Hacedle saber si tenéis alguna duda
o qué otro vídeo queréis. Tengo ya alguno en la cabeza, por lo que sin más, nos vemos en el siguiente. ¡Hasta luego!