How can I access data from couchbase using spark shell

I’m able to start SparkContext and SparkSession but not able to access or store data from couchbase.
The main question is, how to connect and log in from spark shell to couchabse?

hello @ramjan_1 did you try going through this link to see if it helps ?

Yeah, I tried that link above. i’m not able to run N1QL queries from the scala shell.
you should put credentials to access the couchbase, right? How can I pass my password and user ID?