How do I find out my "base url" and "napespace"?

I’m new to pinecone and trying to get an example I found on the web to work with it. The example requires me to specify the “base url” and “namespace”. I’m not seeing anything like that in my pinecone console. How can I find out?
Here is the example:

OK, looks like the API has changed. Also the npm package pinecone-client appears the be obsolete now and has been replaced with @pinecone-database/pinecone.