I want to have different urls for different accounts for viewing pod logs
I was thinking to pass a variable but the problem is how to get the account variable in deck configuration ?
You could expand your question with more details. Basically you could get the current Account and metadata with Pipeline Expressions.
To create custom Links you can combine the data available in your pipeline if you check the JSON source of the pipeline and identify the objects and attributes required. Also remember you can use Pipeline Expressions to extract values for your custom links as well.